Skip to content

Rock vs Mine Predictor is a machine learning project that classifies objects as either rock or mine based on sonar signal data. Using supervised learning algorithms like Logistic Regression and SVM, the model is trained on the Sonar dataset to accurately identify underwater objects.

Notifications You must be signed in to change notification settings

Bhupendra-glitch/Rock-vs-Mine-Prediction-with-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Rock vs Mine Prediction using Machine Learning

Welcome to the Rock vs Mine Predictor project!
This machine learning model uses sonar signal data to predict whether an object is a rock or a mine — a classic binary classification task.


About the Project

  • Objective: Classify objects detected by sonar as either Rock or Mine
  • Dataset: UCI Sonar Dataset (60 features per instance)
  • ML Model: Logistic Regression / SVM / Random Forest (can be customized)
  • Tech Used: Python, Pandas, NumPy, Scikit-learn, Jupyter Notebook

Dataset Details

  • Total Samples: 208
  • Features: 60 numeric values (representing sonar signal energy)
  • Target Labels:
  • R → Rock
  • M → Mine

Dataset Source: https://1drv.ms/x/c/2b0ffd83beaaf2d2/Eex_Ujmf3nhDmoB_hv6OuXsBjU-poWhxvOeJtyO4_SaEPg?e=wLhKcK


Folder Structure

Rock-vs-Mine-Prediction-with-Python/ │

├── rock_vs_mine.ipynb # Main notebook

├── sonar.all-data.csv # Dataset file

├── README.md # This file


How to Run

1. Clone the repository:

git clone https://github.com/Bhupendra-glitch/Rock-vs-Mine-Prediction-with-Python.git

2. Install required packages:

pip install pandas pip install numpy pip install scikit-learn

3. Run the notebook:

jupyter notebook rock_vs_mine.ipynb

About

Rock vs Mine Predictor is a machine learning project that classifies objects as either rock or mine based on sonar signal data. Using supervised learning algorithms like Logistic Regression and SVM, the model is trained on the Sonar dataset to accurately identify underwater objects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •