.. _sphx_glr_auto_examples_03_model_selection:
.. _model_selection:
===============
Model Selection
===============
This section contains how one could use sklearn's `crossvalidation`_ and `gridsearch`_ methods in
combination with the models provided in the sklvq package.
.. _crossvalidation: https://scikit-learn.org/stable/modules/cross_validation.html
.. _gridsearch: https://scikit-learn.org/stable/modules/grid_search.html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_model_selection/images/thumb/sphx_glr_plot_01_crossvalidation_lvq_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_03_model_selection_plot_01_crossvalidation_lvq.py`
.. raw:: html
Cross validation
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_model_selection/images/thumb/sphx_glr_plot_02_gridsearch_lvq_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_03_model_selection_plot_02_gridsearch_lvq.py`
.. raw:: html
Grid Search
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/auto_examples/03_model_selection/plot_01_crossvalidation_lvq
/auto_examples/03_model_selection/plot_02_gridsearch_lvq