You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ A lot of machine learning approaches are configurable. This means that there are
43
43
44
44
Now we need to find the best values for our hyperparameters. Implement the hyperparameter search in the function `cv_svm` following these steps:
45
45
46
-
6.1. Define a dictionary of parameters that you want to cross-validate. (Hint: Reasonable values for $C$ range from 0.01 ($10^{-2}$) to 1000 ($10^3$) in logarithmic steps, while for kernels it is usually sufficient to test `linear`, `rgb` and `poly`.)
46
+
6.1. Define a dictionary of parameters that you want to cross-validate. Reasonable values for $C$ range from 0.01 ($10^{-2}$) to 1000 ($10^3$) in logarithmic steps (i.e. `"C": [0.01, 0.1, 1, 10, 100, 1000]`), while for kernels it is usually sufficient to test `linear`, `rgb` and `poly`.
47
47
48
48
6.2. Initialize your model using the `sklearn.svm.SVC` class. Use the ``sklearn.model_selection.GridSearchCV`` class to find optimal hyperparameters for this task.
0 commit comments