Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MaxHalford/prince
/ functions
Functions
259 in github.com/MaxHalford/prince
⨍
Functions
259
◇
Types & classes
30
↳
Endpoints
34
Method
test_group_cos2
(self)
tests/test_mfa.py:155
Method
test_group_cos2
(self)
tests/test_mfa.py:365
Method
test_group_eigenvalues
(self)
tests/test_mfa.py:84
Method
test_identity_cluster
Fréchet mean of rotations near identity should be near identity.
tests/test_pga.py:145
Method
test_inverse_transform_roundtrip
With all 3 components, inverse_transform should nearly reconstruct input.
tests/test_pga.py:86
Method
test_is_fitted
(self, rotations_df)
tests/test_pga.py:52
Function
test_issue_131
https://github.com/MaxHalford/prince/issues/131#issuecomment-1591426031 >>> df = pd.DataFrame({ ... "foo": [1, 2, 3, 3, 5], ...
tests/test_mca.py:149
Function
test_issue_161
https://github.com/MaxHalford/prince/issues/161 >>> import io >>> data = pd.read_csv(io.StringIO(issue_161_data), index_col=0) >>>
tests/test_mca.py:237
Function
test_issue_169
https://github.com/MaxHalford/prince/issues/169 >>> import pandas as pd >>> from prince import FAMD >>> df = pd.DataFrame({'var1':[
tests/test_famd.py:319
Function
test_issue_171
https://github.com/MaxHalford/prince/issues/171 >>> from sklearn import impute >>> from sklearn import pipeline >>> rng = np.rando
tests/test_mca.py:176
Function
test_mfa_non_numeric_supports_categorical
A group made of string columns should fit (no longer raises NotImplementedError).
tests/test_mfa.py:214
Function
test_non_subset_correction_matches_ca_mjca
Non-subset Benzécri/Greenacre corrections match R's ``ca::mjca(lambda='adjusted')``. FactoMineR doesn't expose these corrections, but Greenacre's
tests/test_mca.py:274
Method
test_num_cols
(self)
tests/test_famd.py:57
Method
test_partial_axis_correlations
Partial-axis correlations should match FactoMineR for the active groups. FactoMineR's ``mfa$partial.axes$cor`` includes both active and suppl
tests/test_mfa.py:432
Method
test_partial_contrib
(self)
tests/test_mfa.py:175
Method
test_partial_cor
(self)
tests/test_mfa.py:160
Method
test_partial_row_coords
(self)
tests/test_mfa.py:191
Method
test_partial_row_coords
(self)
tests/test_mfa.py:370
Function
test_plot_marker_combinations
`plot` should not require rows to be drawn in order to draw columns. The column coordinates are scaled into the row coordinate space, so the row
tests/test_pca.py:206
Method
test_plot_runs
(self, rotations_df)
tests/test_pga.py:133
Method
test_plot_with_color
(self, rotations_df)
tests/test_pga.py:138
Method
test_quanti_var_coords
Column coordinates for the numerical variables should match FactoMineR's quanti.var$coord.
tests/test_mfa.py:393
Method
test_relationship_matrix
Table 2 from Wikipedia: pairwise associations between all variables. R² for quanti-quanti, η² for quanti-quali, ϕ² (= χ²/n) for quali-quali.
tests/test_famd.py:134
Method
test_row_contrib
(self)
tests/test_famd.py:84
Method
test_row_contrib
(self)
tests/test_mfa.py:111
Method
test_row_contrib
(self)
tests/test_mfa.py:350
Method
test_row_contrib
(self)
tests/test_pca.py:165
Method
test_row_contrib
(self)
tests/test_ca.py:114
Method
test_row_contributions
(self)
tests/test_famd.py:201
Method
test_row_coordinates
Figure 1: individual factor map. FactoMineR: famd$ind$coord (signs may differ per component).
tests/test_famd.py:183
Method
test_row_coordinates_equals_transform
(self, rotations_df)
tests/test_pga.py:78
Method
test_row_coords
(self, method_name)
tests/test_famd.py:78
Method
test_row_coords
(self, method_name)
tests/test_mfa.py:95
Method
test_row_coords
(self, method_name)
tests/test_mfa.py:335
Method
test_row_coords
(self, method_name)
tests/test_pca.py:145
Method
test_row_coords
(self, method_name)
tests/test_mca.py:84
Method
test_row_coords
(self, method_name="row_coordinates")
tests/test_ca.py:104
Method
test_row_cosine_similarities
(self)
tests/test_pca.py:158
Method
test_row_cosine_similarities
(self)
tests/test_ca.py:119
Method
test_s
(self)
tests/test_svd.py:70
Method
test_same_seed_gives_identical_output
(self, engine)
tests/test_svd.py:101
Method
test_scree_plot
(self, rotations_df)
tests/test_pga.py:111
Function
test_subset_greenacre_matches_ca_mjca
Subset-MCA Greenacre correction matches R's ``ca::mjca(lambda='adjusted', subsetcat=...)``. Background: https://github.com/MaxHalford/prince/issu
tests/test_mca.py:311
Method
test_svd_U
(self)
tests/test_ca.py:76
Method
test_svd_V
(self)
tests/test_ca.py:81
Method
test_total_inertia
(self)
tests/test_mfa.py:67
Method
test_total_inertia
(self)
tests/test_mfa.py:318
Method
test_total_inertia
(self)
tests/test_pca.py:118
Method
test_total_inertia
(self)
tests/test_ca.py:86
Method
test_transform
(self)
tests/test_gpa.py:56
Method
test_transform_shape
(self, rotations_df)
tests/test_pga.py:73
Method
test_transformed_coordinates
(self, small_quats)
tests/test_pga.py:189
Function
test_type_doesnt_matter
Checks that the type of the columns doesn't affect the result.
tests/test_mca.py:207
Method
test_variance_percentages_sum
(self, rotations_df)
tests/test_pga.py:66
Function
test_with_and_without_one_hot
>>> df = pd.DataFrame({ ... "foo": [1, 2, 3, 3, 5], ... "bar": ["a", "b", "c", "b", "e"], ... }) >>> mca = prince.MCA(n_
tests/test_mca.py:114
Method
test_xarray
(self)
tests/test_gpa.py:88
Method
total_inertia_
Total inertia from PCA in the tangent space.
prince/pga.py:248
Method
transform
Align X to the reference shape. Parameters: X (array-like of shape (n_shapes, n_points, n_dim)): Matrix of shapes
prince/gpa.py:91
Function
wrapper
(*args, **kwargs)
prince/utils.py:22
← previous
201–259 of 259, ranked by callers