Results
Overview
This section reports the results of classifying mushrooms into edible and not edible by applying several classifiers that include logistic regression, KNN, decision tree, random forest, SVC, naive Bayes and neural network.
The analysis is described in the previous section.
This project is based on materials from Applied Machine Learning in Python by University of Michigan on Coursera
The analysis for this project was performed in Python.
Results and Discussion
The results are reported along with visualizations of decision boundary and decision probabilities for each classifier fitted in the previous section. All the classifiers are comparable in terms of their performance on the test data, with the accuracy score ranging from 0.87 to 0.94, and random forest generating the highest score of 0.94.
The plot of the target as a function of the first two principal components for the training data is shown below:
The following plots are the decision boundary and decision probabilities for each classifier along with the accuracy score measured using the test data:
Previous step: Analysis