-
Implemented several multi-layer perceptron models and an SVM for diabetes classification
-
Used skorch along with grid search to tune MLP hyperparameters and scikit learn based grid search for SVM tuning
-
Best performing MLP obtained validation accuracy of 0.84 and 0.87 accuracy on test set. Best performing SVM achieved accuracy of 0.77 on validation and 0.75 on test.
-
Python Version: 3.8.11
-
Libraries and Packages:
numpy
,pandas
,seaborn
,torch
,sklearn
,skorch
Code, data and files for the above can be found in the following files:
MLP
: code for MLP model and corresponding visulisationsSVM
: code for SVM model and corresponding visulisationsEDA
: exploratory data analysis on the diabete datasetData
: PIMA Indians Diabetes datasetBest_models
: comparing model performance between MLP and SVM