Skip to content

An application that will determine if you will be devoured by a shark based on historic data and machine learning in the form of an interactive and fun website.

License

Notifications You must be signed in to change notification settings

Gen-X-Coders/SharkHackS3-Sharkies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sharkies Banner

Objective

To make an application that will determine if you will devoured by a shark based off historic data and machine learning in the form of an interactive and fun website.

How the ML model works:

We got our dataset from Kagle which is basically Shark attack data. Then we saw the attributes which would be needed to predict and dropped the rest of the columns. Now since most of our attributes are categorical data so we used One-Hot encoding (For: Sex and Time columns) and Target encoding (For: Country and activities). Now all of our data is in numeric form so then we used SMOTE to balance our data as we had a lot of None-fatal cases compared to fatal-cases. Then we finally used logistic regression to train our model and saved it as a pickle file (Check out the .ipy file in Machine learning directory for complete code).

Languages Used:

Flask Flask

Framework:

Flask

People Part of the Project:

Person Linkedin
Niveditha Sivan Linkedin
Nihal Srivastava Linkedin
Pranav Viswanathan Linkedin
Varun Kamath Linkedin