Exercise

# Tuning a linear SVM

In this exercise you will study the influence of varying cost on the number of support vectors for linear SVMs. To do this, you will build two SVMs, one with cost = 1 and the other with cost = 100 and find the number of support vectors. A model training dataset is available in the dataframe `trainset`

.

Instructions 1/2

**undefined XP**

- Build a linear SVM with cost = 1 (default setting).
- Print the model to find the number of support vectors.