Session Ready
Exercise

Iris redux - a more robust accuracy.

In this exercise, you will build linear SVMs for 100 distinct training/test partitions of the iris dataset. You will then evaluate the performance of your model by calculating the mean accuracy and standard deviation. This procedure, which is quite general, will give you a far more robust measure of model performance than the ones obtained from a single partition.

Instructions
100 XP
  • For each trial:
    • Partition the dataset into training and test sets in a random 80/20 split.
    • Build a default cost linear SVM on the training dataset.
    • Evaluate the accuracy of your model.