# AI News, Data Science Blog

## Data Science Blog

It's been somewhat of a sharky summer these past 3 months: there were a smattering of attacks up and down the east coast of the US, professional surfer Mick Fanning, had a close call at a competition in South Africa, and several beaches were closed in California after a Great White took a bite out of a surfboard!

So now with the end of summer officially here (at least in the northern hemisphere), we thought it would be interesting to dig into some shark attack data.

is 'diving for Bêche-de-mer' vs 'diving for trochus' different, or somehow related to the frequency in which sharks attack divers, and should therefore be considered a separate 'activity'.

To better group the more common activity types, I've created a function to handle for specific cases: its messy and long, so I've included it in the repo.

Based on the two charts, we see that despite rate of attacks on surfers and swimmers increasing over the past 65 years, fatal attacks have not increased at the same rate.

As you'll note from the table above, we have columns indicating the Country, Area and Location of the attacks, but no numerical or geo-spacial data to plot attacks with.

Scaling this concept out, I've created a function to take the text descriptions of the attack locations, query the API for the coordinates and then write the results back to a latitude and longitude column.

They're commonly found in bays and canals around Sydney, Australia, have been found over 2,500 miles inland up the Amazon River, been held responsible for nibbles in the Ganges River in India, and even been seen in Alton, Illinois, 1,750 miles from the coast.

Despite this possibility of a 'landshark shark attack' occurring, we can reasonably assume that the vast majority of attacks occur in the ocean.

Put simply, KDTree (k-dimensional tree), builds a k-dimensional binary search tree, that we can use to determine neighbors and distances between neighbors.

Again, we'll need to improve our outlier detection algorithm a bit, or perhaps use a different model altogether, but we've definitely made some solid progress.

Tens of millions of people go swimming, surfing, and diving every year and on average, only 7 people are killed by sharks every year in unprovoked attacks.

Rescuers Search For RI Teen Missing After Jumping Into Quarry In Mass.

A rescue effort is under way at a quarry Sunday in Milford to find a missing swimmer. WBZ-TV's Katie Brace reports.

Conversations with Denis Caron of Corvink.com

We are again joined by Denis Caron from The sponsor for our Marvel Netflix week, comic creator and founder of Corvink.com! Denis and ..

070: Sex, Facebook Messenger, and Rock & Roll with Ian Smith

Hi Guys! I'm LaptopLaura and this is Copy That Pops Podcast, episode 70. Enjoy Do you remember episode 068 of our podcast?! Here it is if you want to get a ...