Question: Complete this as a R Markdown, knit it into word document and upload. Question 1 a) Build a knn classifier to classify iris dataset. b)

Complete this as a R Markdown, knit it into word document and upload.

Question 1

a) Build a knn classifier to classify iris dataset.

b) Use k-fold cross validation with k=15 repeated 40 times.

c) Calculate the accuracy, mmce and confusion matrix

d) If the measurement of Sepal.Length, Sepal.Width, Petal.Length and Petal.Width for a data are 5.9 , 3 , 4.2 and 1.8 respectively. Create a tibble representing this data and use the created model to check the category of this data.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!