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

Metabolic Syndrome Prediction | 5. Model prediction and evaluation #156

Merged
merged 3 commits into from
Aug 9, 2024

Conversation

Arihant-Bhandari
Copy link
Contributor

@Arihant-Bhandari Arihant-Bhandari commented Jun 2, 2024

closes issue #98 Metabolic Syndrome Prediction | 5. Model prediction and evaluation

worked on step 5:

  1. Write generic functions.

  2. Use all features; no feature engineering (transformation, selection, extraction, dropping here)

  3. Use both normalized and standardized data.

  4. Use hyperparameter tuning for models.

  5. Use some training strategy like LOSO or K-Fold.

  6. Record time to find best params and time to train using those params.

  7. on test data and print all eval metrics.

  8. If it is binary classification, plot ROC to find optimal threshold.

  9. Using that, plot Confusion matrix to evaluate the models.

  10. Models to use: Extra Trees, SVM, Logistic, KNN, DT, RF, GB, Bagging Clf, XGB, Hist GB, MLP, Catboost, Adaboost, Naive Bayes, LightGBM

Worked on the following models:

  1. XGBoost Classifier
  2. Random Forest Classifier
  3. Decision Tree Classifier
  4. AdaBoost Classifier
  5. LGBM (Light Gradient Boosting Machine) Classifier
  6. Logistic Regression
  7. Extra Trees Classifier
  8. Histogram-based Gradient Boosting Classifier
  9. Gradient Boosting Classifier
  10. KNN (K-Nearest Neighbors)
  11. Stacking Classifier
  12. Voting Classifier
  13. Bagging Classifier
  14. CatBoost Classifier
  15. Linear SVC (Support Vector Classifier)
  16. SVC (Support Vector Classifier)
  17. Perceptron
  18. Multilayer Perceptron (Feedforward ANN)
  19. Artificial Neural Networks

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job, @Arihant-Bhandari! 🎉 Thank you for submitting your pull request. Your contribution is valuable and we appreciate your efforts to improve our project.

We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

@Arihant-Bhandari
Copy link
Contributor Author

hi @SrijanShovit this is the initial work i hope to get feedback on, from the problem statement i have devised stuff for XGBClassifier, if this work is found satisfactory i will continue with this for all other models, pls check up on this. if anything is to be added or changed, i will be glad to do them.

thank you for your time and patience.

@github-actions github-actions bot closed this Jun 11, 2024
Copy link

This issue has been automatically closed because it has been inactive for more than 7 days. If you believe this is still relevant, feel free to reopen it or create a new one. Thank you!

@SrijanShovit SrijanShovit reopened this Jun 15, 2024
Copy link
Owner

@SrijanShovit SrijanShovit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Process of a model prediction is fine but repeat same thing for various models.

In the end, use 2-3 neural networks as well.

@Arihant-Bhandari
Copy link
Contributor Author

Hi @SrijanShovit , the work on this PR is complete, pls review and if any suggestions or changes are to be made, please let me know, will gladly make the required changes.

Copy link

github-actions bot commented Jul 5, 2024

This issue has been automatically closed because it has been inactive for more than 7 days. If you believe this is still relevant, feel free to reopen it or create a new one. Thank you!

@github-actions github-actions bot closed this Jul 5, 2024
@SrijanShovit SrijanShovit reopened this Aug 9, 2024
@SrijanShovit SrijanShovit merged commit 6379a03 into SrijanShovit:main Aug 9, 2024
1 check passed
@hetvigandhi03 hetvigandhi03 linked an issue Aug 9, 2024 that may be closed by this pull request
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Metabolic Syndrome Prediction | 5. Model prediction and evaluation
3 participants