.. currentmodule:: scikitplot.api.decomposition .. _decomposition-index: Decomposition ====================================================================== This module contains functions related to decomposition. .. _plot_pca_component_variance: plot pca component variance ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :py:func:`~scikitplot.api.decomposition.plot_pca_component_variance` Trained model of :class:`~sklearn.decomposition.PCA`. For an example of performing image: .. rubric:: Examples * :ref:`sphx_glr_auto_examples_decomposition_plot_pca_2d_projection_script.py`: Example usage of :class:`~sklearn.decomposition.PCA` using the iris dataset .. dropdown:: References * `"scikit-learn PCA" `_. * `"scikit-learn Linear and quadratic discriminant analysis" `_. .. _plot_pca_2d_projection: plot pca 2d projection ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :py:func:`~scikitplot.api.decomposition.plot_pca_2d_projection` Trained model of :class:`~sklearn.decomposition.PCA`. For an example of performing image: .. rubric:: Examples * :ref:`sphx_glr_auto_examples_decomposition_plot_pca_component_variance_script.py`: Example usage of :class:`~sklearn.decomposition.PCA` using the iris dataset .. dropdown:: References * `"scikit-learn PCA" `_. * `"scikit-learn Linear and quadratic discriminant analysis" `_.