The questions below relate to the work done in Lab 7. Give all numeric answers correct to 2 decimal places.
- From Exercise 1 (a), set the seed to 10202 and enter the value of the Sepal.Length for th 1st observation in the training dataset.
- From Exercise 1 (a), set the seed to 10202 and enter the value of the Sepal.Length for th 1st observation in the test dataset.
- From Exercise 1 (c), the first decision in the tree is “Petal.Length < X”, what is the value of X?
- From Exercise 1 (g) how does the model classify the first observation in the test dataset. Enter 1 for setosa, 2 for virginica or 3 for versicolor.
- From Exercise 1 (g) is the model classifcation correct? Enter 0 for no or 1 for yes.
- From Exercise 1 (h), what is the accuracy (to the nearest whole %) for the classification tree model?
- From Exercise 1 (l), what is the accuracy (to the nearest whole %) for the knn model?