PCA documentation! ================== |python| |pypi| |docs| |stars| |LOC| |downloads_month| |downloads_total| |license| |forks| |open issues| |project status| |medium| |colab| |DOI| |repo-size| |donate| .. tip:: `Read more about PCA loadings and Biplots. `_ .. tip:: `Read more about outlier detection. `_ .. _logo: .. figure:: ../figs/iris_density.png ------------------------------------- **PCA** is a python package to perform *Principal Component Analysis* and to create insightful *plots*. The core of PCA is build on **sklearn** functionality to find maximum compatibility when combining with other packages. But this pca package can do a lot more. Besides the regular **Principal Components**, it can also perform **SparsePCA**, **TruncatedSVD**, and provide you with the information that can be extracted from the components. Summary of Functionalities: * Biplot to plot the loadings. * Determine the explained variance. * Extract the best performing features. * Scatter plot with the loadings. * Outlier detection using Hotelling T2 and/or SPE/Dmodx. ----------------------------------- .. note:: **Your ❤️ is important to keep maintaining this package.** You can `support `_ in various ways, have a look at the `sponser page `_. Report bugs, issues and feature extensions at `github `_ page. .. code-block:: console pip install pca ----------------------------------- Contents ======== .. toctree:: :maxdepth: 1 :caption: Background Abstract .. toctree:: :maxdepth: 1 :caption: Installation Installation .. toctree:: :maxdepth: 1 :caption: Methods Algorithm .. toctree:: :maxdepth: 1 :caption: Outlier detection Outlier detection .. toctree:: :maxdepth: 1 :caption: Plots Plots arrows .. toctree:: :maxdepth: 1 :caption: Examples Examples notebook .. toctree:: :maxdepth: 1 :caption: Documentation Documentation Additional_Information Coding quality pca.pca Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`search` .. |python| image:: https://img.shields.io/pypi/pyversions/pca.svg :alt: |Python :target: https://erdogant.github.io/pca/ .. |pypi| image:: https://img.shields.io/pypi/v/pca.svg :alt: |Python Version :target: https://pypi.org/project/pca/ .. |docs| image:: https://img.shields.io/badge/Sphinx-Docs-blue.svg :alt: Sphinx documentation :target: https://erdogant.github.io/pca/ .. |stars| image:: https://img.shields.io/github/stars/erdogant/pca :alt: Stars :target: https://img.shields.io/github/stars/erdogant/pca .. |LOC| image:: https://sloc.xyz/github/erdogant/pca/?category=code :alt: lines of code :target: https://github.com/erdogant/pca .. |downloads_month| image:: https://static.pepy.tech/personalized-badge/pca?period=month&units=international_system&left_color=grey&right_color=brightgreen&left_text=PyPI%20downloads/month :alt: Downloads per month :target: https://pepy.tech/project/pca .. |downloads_total| image:: https://static.pepy.tech/personalized-badge/pca?period=total&units=international_system&left_color=grey&right_color=brightgreen&left_text=Downloads :alt: Downloads in total :target: https://pepy.tech/project/pca .. |license| image:: https://img.shields.io/badge/license-MIT-green.svg :alt: License :target: https://github.com/erdogant/pca/blob/master/LICENSE .. |forks| image:: https://img.shields.io/github/forks/erdogant/pca.svg :alt: Github Forks :target: https://github.com/erdogant/pca/network .. |open issues| image:: https://img.shields.io/github/issues/erdogant/pca.svg :alt: Open Issues :target: https://github.com/erdogant/pca/issues .. |project status| image:: http://www.repostatus.org/badges/latest/active.svg :alt: Project Status :target: http://www.repostatus.org/#active .. |medium| image:: https://img.shields.io/badge/Medium-Blog-green.svg :alt: Medium Blog :target: https://erdogant.github.io/pca/pages/html/Documentation.html#medium-blog .. |donate| image:: https://img.shields.io/badge/Support%20this%20project-grey.svg?logo=github%20sponsors :alt: donate :target: https://erdogant.github.io/pca/pages/html/Documentation.html# .. |colab| image:: https://colab.research.google.com/assets/colab-badge.svg :alt: Colab example :target: https://erdogant.github.io/pca/pages/html/Documentation.html#colab-notebook .. |DOI| image:: https://zenodo.org/badge/233232884.svg :alt: Cite :target: https://zenodo.org/badge/latestdoi/233232884 .. |repo-size| image:: https://img.shields.io/github/repo-size/erdogant/pca :alt: repo-size :target: https://img.shields.io/github/repo-size/erdogant/pca .. include:: add_bottom.add