Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tenosel authored Sep 12, 2024
1 parent 97a6344 commit bc94882
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ A lot of machine learning approaches are configurable. This means that there are
* and the choice of the kernel function.

Now we need to find the best values for our hyperparameters. Implement the hyperparameter search in the function `cv_svm` following these steps:

6.1. Define a dictionary of parameters that you want to cross-validate. (Hint: Reasonable values for $C$ range from 0.01 to 1000, while for kernels it is usually sufficient to test `linear`, `rgb` and `poly`.)

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.
Expand Down

0 comments on commit bc94882

Please sign in to comment.