Please select two machine learning classifiers (it can be your two favorites) to predict if a patient has diabetes by following the steps below (you may use Jupyter notebook): 1. download the data using this link: https://www.kaggle.com/datasets/uciml/pima-indians-diabetes-database 2. you need to import all the necessary libraries 3. you need to read the data( you may use Pandas) 4. you will have to perform some feature engineering to replace zero values for features such as glucose, blood pressure and skin thickness, only if these are not alredy presented in the dataset 5. you need to split the data in training sets and testing sets 6. you need to create classifiers models and then train those models on the train set 7. you also need to use the models to predict on the test set 8. you need to report the accuracy of the models by using the accuracy score and confusion matrix 9. if you can please show some visualization like graphs for the accuracy, confusion matrix and the loss and decision 10. lastly, in a paragraph please explain why did you select the two machine learning classifiers that you selected.
Please select two machine learning classifiers (it can be your two favorites) to predict if a patient has diabetes by following the steps below (you may use Jupyter notebook):
1. download the data using this link: https://www.kaggle.com/datasets/uciml/pima-indians-diabetes-
2. you need to import all the necessary libraries
3. you need to read the data( you may use Pandas)
4. you will have to perform some feature engineering to replace zero values for features such as glucose, blood pressure and skin thickness, only if these are not alredy presented in the dataset
5. you need to split the data in training sets and testing sets
6. you need to create classifiers models and then train those models on the train set
7. you also need to use the models to predict on the test set
8. you need to report the accuracy of the models by using the accuracy score and confusion matrix
9. if you can please show some visualization like graphs for the accuracy, confusion matrix and the loss and decision
10. lastly, in a paragraph please explain why did you select the two machine learning classifiers that you selected.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 3 images