Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MaxHalford/prince
/ types & classes
Types & classes
30 in github.com/MaxHalford/prince
⨍
Functions
259
◇
Types & classes
30
↳
Endpoints
34
↓ 2 callers
Class
SO3
The SO(3) manifold of 3D rotations. Uses unit quaternions as the representation. Internally converts to/from scipy Rotation objects for Log/E
prince/manifolds.py:76
↓ 1 callers
Class
SVD
prince/svd.py:19
Class
CA
prince/ca.py:38
Class
EigenvaluesMixin
prince/utils.py:48
Class
FAMD
prince/famd.py:14
Class
GPA
Generalized Procrustes Analysis (GPA). Algorithm outline: 1. Choose a reference shape. 2. Apply Procrustes Analysis to superimpose all s
prince/gpa.py:15
Class
GroupType
Type of variables in an MFA group. A group must be homogeneous: every column in it is either numerical (PCA-style) or categorical (MCA-style)
prince/mfa.py:17
Class
MCA
Multiple Correspondence Analysis (MCA). MCA extends correspondence analysis to more than two categorical variables. It works by one-hot encod
prince/mca.py:18
Class
MFA
prince/mfa.py:34
Class
Manifold
Abstract base class for Riemannian manifolds.
prince/manifolds.py:12
Class
PCA
Principal Component Analysis (PCA). Parameters ---------- rescale_with_mean Whether or not to subtract each column's mean before
prince/pca.py:32
Class
PGA
Principal Geodesic Analysis (PGA). PGA generalizes PCA to Riemannian manifolds. Data is mapped to the tangent space at the Fréchet mean, PCA
prince/pga.py:15
Class
TestCA
tests/test_ca.py:33
Class
TestFAMD
tests/test_famd.py:29
Class
TestFrechetMean
tests/test_pga.py:144
Class
TestGPA
tests/test_gpa.py:11
Class
TestGeomstatsComparison
Compare PGA results against geomstats TangentPCA as a reference.
tests/test_pga.py:164
Class
TestMCA
tests/test_mca.py:15
Class
TestMFA
tests/test_mfa.py:26
Class
TestMFACategorical
MFA on the FactoMineR ``poison`` dataset with one numerical and three categorical groups. Exercises mixed numeric/categorical MFA (FactoMineR's `
tests/test_mfa.py:259
Class
TestPCA
tests/test_pca.py:36
Class
TestPGAFit
tests/test_pga.py:46
Class
TestPGAKnownStructure
tests/test_pga.py:122
Class
TestPGAPlot
tests/test_pga.py:132
Class
TestPGAProperties
tests/test_pga.py:103
Class
TestPGARoundTrip
tests/test_pga.py:85
Class
TestPGATransform
tests/test_pga.py:72
Class
TestRandomState
random_state must produce reproducible SVDs regardless of the global numpy random state, for every engine that exposes a random_state knob.
tests/test_svd.py:85
Class
TestSVD
tests/test_svd.py:26
Class
TestWikipediaExample
Reproduce the example from the Wikipedia FAMD article. https://en.wikipedia.org/wiki/Factor_analysis_of_mixed_data Reference values computed
tests/test_famd.py:100