Solution: Which Classifier Works Well?

Let us test which classifier works well on the diabetes dataset.


Given the diabetes_dataset.csv and test_data.csv files, determine which of the following three classifiers works best on the given dataset:

  • Support vector machine (SVM)
  • Random forest classifier (RFC)
  • Multilayer perceptron (MLP)

The test set and train set have already been loaded in the variables (X_train, Y_train) and (X_test, Y_test) respectively.


Let’s see the solutions for all the three classifiers on the diabetes dataset and figure out which classifier works best.

Support vector machine (SVM)

Get hands-on with 1200+ tech skills courses.