Skip to content

Rock or Mine Prediction ML model based on Linear Regression

Notifications You must be signed in to change notification settings

NavneetKishanS/rock-or-mine-predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Rock or Mine Predictor🪨

This repository hosts a machine learning model for predicting whether SONAR data represents a Mine or Rock, implemented in Python using numpy, pandas, and scikit-learn with Logistic Regression.

Dataset

The dataset used for training and testing is Kaggle, containing un-labelled SONAR data samples. You can also get the CSV file in this repository as well.

Usage

  1. Clone the repository:

    git clone https://github.com/NavneetKishanS/rock-or-mine-predictor.git
    cd rock-or-mine-predictor
  2. Open and Run the Jupyter Notebook: Upload sonar_classification.ipynb to Google Colab. Execute notebook cells to train the model and evaluate its performance.

  3. Dependencies: Install required dependencies:

     pip install numpy pandas scikit-learn
    

Results

View the model's accuracy on the test dataset and explore predictions within the notebook.

License

This project is licensed under the MIT License.

Feel free to contribute and use the model for your projects. For issues or suggestions, open an issue or submit a pull request.

About

Rock or Mine Prediction ML model based on Linear Regression

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published