/SONAR-Rock-vs-Mine-Prediction

Predicts whether it's a Rock or Mine using SONAR Dataset

Primary LanguageJupyter Notebook

SONAR-Rock-vs-Mine-Prediction

Binary Classification Problem Logistic Regression Model

Building a system in Python that can predict whether the object is a Rock or a Mine based on the Sonar Data. For prediction Supervised Machine Learning Model is used and executed in Jupyter Notebook using Python. Here, Logistic Regression Model is adopted as it is most accurate for Binary Classification problem. Model is trained for 70% of dataset and tested for 30% of dataset. Accuracy Score obtained for the test dataset was 77.78%.

This model can be used for predicting a Rock or a Mine by just entering the input Sonar Data.


  • Clone the project
  • Run pip install -r requirements.txt
  • Add input data for which prediction is to be done.
  • Run