-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
Pcos Detection #635
Merged
Merged
Pcos Detection #635
Changes from 8 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
43b9f73
Pcos Detection
payalsinha12 ef83c22
Pcos detection
payalsinha12 d8010d0
Pcos detection
payalsinha12 6d24645
Pcos Detection
payalsinha12 f98a564
Delete Pcos Detection.ipynb
payalsinha12 75013fe
Rename Requirements.txt to requirements.txt
payalsinha12 e500ff0
Rename Readme.md to README.md
payalsinha12 b4517ea
Delete Pcos Detection/Images/desktop.ini
payalsinha12 73824c0
Pcos Detection
payalsinha12 7358a75
Pcos Detection
payalsinha12 9643349
Pcos Detection
payalsinha12 1292b54
Pcos Detection
payalsinha12 f2f692d
pcos detection
payalsinha12 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
**Pcos Detection** | ||
|
||
🎯**GOAL** | ||
|
||
The aim of the project is to build a model which would predict whether a person has the Pcos Detection | ||
|
||
🧵**DATASET** | ||
|
||
The dataset was taken from the Kaggle. | ||
|
||
🧾**DESCRIPTION** | ||
|
||
In this project, we compare the accuracies of different models to predict the pcos in the person. | ||
|
||
🧮**WHAT I HAD DONE** | ||
|
||
Steps followed: | ||
* Downloaded the dataset from Kaggle. | ||
* Checked for null values and performed exploratory data analysis | ||
* Built models using the following algorithms: Logistic Regression, KNN, Random Forest | ||
* Compared the accuracies | ||
* Then performed cross validation on all the algorithms to see if the accuraries imrpove. | ||
|
||
🚀**Models Implemented** | ||
|
||
1) Logistic Regression | ||
2) Decision Tree | ||
3) Random forest | ||
4) Gradient Boosting | ||
5) Adaboost | ||
6) Naive Bayes | ||
7) Support Vector Machine | ||
8) K-Nearest Neighbors | ||
|
||
📚**LIBRARIES NEEDED** | ||
|
||
* Pandas | ||
* Matplotlib | ||
* Seaborn | ||
* Numpy | ||
* Sklearn | ||
|
||
📊**Exploratory Data Analysis Results** | ||
|
||
![alt text](image-1.png) | ||
![alt text](image.png) | ||
|
||
📈 **Performance of the Models based on the Accuracy Scores** | ||
|
||
Classifier Accuracy Precision Recall F1 Score | ||
0 Logistic Regression 0.703704 0.514286 0.545455 0.529412 | ||
1 Decision Tree 0.629630 0.405405 0.454545 0.428571 | ||
2 Random Forest 0.685185 0.487805 0.606061 0.540541 | ||
3 Gradient Boosting 0.731481 0.547619 0.696970 0.613333 | ||
4 AdaBoost 0.685185 0.487805 0.606061 0.540541 | ||
5 Naive Bayes 0.518519 0.373333 0.848485 0.518519 | ||
6 Support Vector Machine 0.305556 0.301887 0.969697 0.460432 | ||
7 K-Nearest Neighbors 0.694444 0.500000 0.606061 0.547945 | ||
|
||
📢**CONCLUSION** | ||
|
||
From this project we conclude that Gradient Boosting has the highest accuracy among all the four algorithms, followed by Logistic Regression, Random forest , AdaBoost and KNN. | ||
|
||
✒️**Contribution by** | ||
|
||
Payal Sinha | ||
Github: https://github.com/payalsinha12 |
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pandas==1.3.4 | ||
numpy==1.21.4 | ||
pandas==1.3.5 | ||
matplotlib==3.5.1 | ||
scikit-learn==1.0.1 | ||
seaborn==0.11.2 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The markdown script you have written is not creating a table, instead it is showing one after another.
This is what you need to fix.