logo

Crowdly

The questions below relate to the work done in Lab 7. Give all numeric answers...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

The questions below relate to the work done in Lab 7. Give all numeric answers correct to 2 decimal places.

  1. 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.
  2. 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.
  3. From Exercise 1 (c), the first decision in the tree is “Petal.Length < X”, what is the value of X?
  4. 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.
  5. From Exercise 1 (g) is the model classifcation correct? Enter 0 for no or 1 for yes.
  6. From Exercise 1 (h), what is the accuracy (to the nearest whole %) for the classification tree model?
  7. From Exercise 1 (l), what is the accuracy (to the nearest whole %) for the knn model?

More questions like this

Want instant access to all verified answers on moodle.maynoothuniversity.ie?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!