Support Vector Machines
Launch the WEKA tool, and then activate the "Explorer" environment.
-
Open the "iris" dataset (i.e., i.e., stored in the sub folder "data" of the installed WEKA folder). For each attribute and for each of its possible values, how many instances in each class have the feature value (i.e., the class distribution of the feature values)?
-
Go to the "Classify" tab. Select the SMO classifier. Choose "Percentage split" (66% for training) test mode. Run the classifier and observe the results shown in the "Classifier output" window.
- Write down the learned classifiers (i.e., the separating hyperplanes).
- How many instances are incorrectly classified?
- What is the MAE (mean absolute error) made by the learned classifiers?
- What is the RMSE (root mean squared error) made by the learned classifiers?
- Visualize the errors made by the learned classifiers. In the plot, see the detailed information of the incorrectly classified test instances.
-
Now, in the "Test options" panel select the "Cross-validation" option (10 folds). Run the classifier and observe the results shown in the "Classifier output" window.
- Write down the learned classifiers (i.e., the separating hyperplanes).
- How many instances are incorrectly classified?
- Compare the MAE (mean absolute error) made by the learned classifiers to that observed in the previous experiment?
- Compare the RMSE (root mean squared error) made by the learned classifiers to that observed in the previous experiment?
- Visualize the errors made by the learned classifiers. In the plot, see the detailed information of the incorrectly classified test instances.