Due to the fear of hospitals caused because of growing COVID19 cases, people have stopped visiting hospitals. This has led to reduction in detection and prognosis of diseases which require expertise of doctors, like cancers, heart diseases and more. It is the need of the hour for people to be able to detect whether they have a disease or not by sitting at home.

What it does

With a machine Learning model using a Kaggle dataset to predict whether a person has a heart disease or not.

How we built it

The Machine learning model was built using the scikit learn library available in python. The model was then stored using pickle. Data was collected from a user through a website whose backend was supported in flask.

Challenges we ran into

  • It was only my second time attempting to use flask, and I was overwhelmed with the number of tutorials available online and all of them saying difference syntaxes.
  • I ran into few problems while coding but due to timezone differences with the mentors, they couldnt be cleared up and took longer than necessary to tackle

Accomplishments that we're proud of

Incorporating particle.js in our website and deploying the machine learning model on the website using flask. Managing to find work arounds when there was technical failure.

What we learned

So much. First of all I learnt to tackle college assignment deadline and hackathon deadline simultaenously. I learnt how to debug code. I understood how difficult it is to understand and make sense of someone elses code. Following tutorials in themselves is of no use, unless you understand the code and can make changes to suit your own needs.


  • Two attempts were made to deploy the app on Google Cloud but they ended up being unsuccessful.
  • Wanted to get my hands dirty with HTML and CSS in more detail but time ended up being a constrain

What's next for Hearts of Sharks

  • Improving the accuracy of the model by using deep learning models.
  • Incorporating another data set which uses X-Ray scans to predict risk of heart diseases. More information could mean better accuracy of models.
  • Working on the UI design of the website and making it more interactive and informative
  • Deploying it on a website as well as making it available through a mobile app

Built With

Share this project: