Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q3 [2.5]. Classifying the iris data set. In this question, you will experiment with different classification models on the Iris data set. The models are:

Q3 [2.5]. Classifying the iris data set. In this question, you will experiment with different classification models on the Iris data set. The models are: Linear Classifiers, with hinge loss (SVM) Random-forest Classifier

a) for the SVM classifier, use the default parameters, and 5-fold cross-validation, and report the overall accuracy and confusion matrix, as well as accuracy and confusion matrix for each fold. What is the standard deviation of accuracy over the folds?

b) for the Random Forest classifier, experiment with different numbers of estimators, different max depths of the tree (in the range from 2 to 10). Use the default values for the remaining parameters. Evaluate each parameter selection using 5-fold cross-validation, and report the accuracy and the confusion matrix. Only report the interesting parameter settings.

c) Summarize your findings from (a) and (b). What is the best performing classifier on the iris data set?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Support For Data Mining Applications Discovering Knowledge With Inductive Queries Lnai 2682

Authors: Rosa Meo ,Pier L. Lanzi ,Mika Klemettinen

2004th Edition

3540224793, 978-3540224792

More Books

Students also viewed these Databases questions

Question

What information should be included in an internal audit charter?

Answered: 1 week ago