Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bearing Classification #477

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,000 changes: 1,000 additions & 0 deletions Bearing Classification/Dataset/Faulty-bearing.csv

Large diffs are not rendered by default.

1,000 changes: 1,000 additions & 0 deletions Bearing Classification/Dataset/Healthy-bearing.csv

Large diffs are not rendered by default.

Binary file added Bearing Classification/Images/EDA1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Bearing Classification/Images/EDA2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Bearing Classification/Images/EDA3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Bearing Classification/Images/Metrics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,000 changes: 1,000 additions & 0 deletions Bearing Classification/Model/Faulty-bearing.csv

Large diffs are not rendered by default.

1,000 changes: 1,000 additions & 0 deletions Bearing Classification/Model/Healthy-bearing.csv

Large diffs are not rendered by default.

1,649 changes: 1,649 additions & 0 deletions Bearing Classification/Model/bearing_classification.ipynb

Large diffs are not rendered by default.

68 changes: 68 additions & 0 deletions Bearing Classification/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Bearing Classification using ML

## PROJECT TITLE

Bearing Classification

## GOAL

To identify faulty and healthy bearing.

## DATASET

The link for the dataset used in this project: https://www.kaggle.com/datasets/zlemglsmklkaya/healthy-vs-faulty-bearings/data?select=Healthy-bearing.csv

## EDA:
![Dataset](Images/Input_Dataset.png)
![EDA](Images/EDA1.png)
Shape: (1998,2)

## DESCRIPTION

This project aims to identify the faulty and helthy bearings.

## WHAT I HAD DONE

1. Data collection: From the link of the dataset given above.
2. Data preprocessing: Preprocessed the data to create valid features.
3. Model selection: XGBC,Random Forest,Logestic Regression,Gaussian Bayes,AdaBoost Classifier.
4. Comparative analysis: Compared the accuracy score of all the models.


## MODELS SUMMARY

- XGBC
- Logistic Regression
- Adaboost Classifier
- Random Forest Classifier
- Gaussian Bayes

## LIBRARIES NEEDED

The following libraries are required to run this project:

- matplotlib
- numpy
- pandas
- sklearn

## EVALUATION METRICS

The evaluation metrics I used to assess the models:

- Accuracy

It is shown using Confusion Matrix in the Images folder

## RESULTS
Results on Val dataset:
XGBC: 77%
Random Forest: 74.33%
Adaboost: 75.67%
Logistic Regression: 52%
Gaussian Bayes: 73%

## CONCLUSION
Based on results we can draw following conclusions:

1.The XGBC worked the best
Loading