Model Improvement

Tune with Grid Search

① Learn

Grid search tries several parameter choices and checks which one works best. It is a simple way to improve a model without guessing.

② Implement — write it, run it, submit
Goal

Use `GridSearchCV` to search over `n_neighbors` values `1` and `3`.

Output
Hints
  • Stuck? Reveal a hint.
Free Tools & Calculators