MCPcopy Create free account

hub / github.com/MaxHalford/prince / functions

Functions259 in github.com/MaxHalford/prince

Methodtest_group_cos2
(self)
tests/test_mfa.py:155
Methodtest_group_cos2
(self)
tests/test_mfa.py:365
Methodtest_group_eigenvalues
(self)
tests/test_mfa.py:84
Methodtest_identity_cluster
Fréchet mean of rotations near identity should be near identity.
tests/test_pga.py:145
Methodtest_inverse_transform_roundtrip
With all 3 components, inverse_transform should nearly reconstruct input.
tests/test_pga.py:86
Methodtest_is_fitted
(self, rotations_df)
tests/test_pga.py:52
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_mfa_non_numeric_supports_categorical
A group made of string columns should fit (no longer raises NotImplementedError).
tests/test_mfa.py:214
Functiontest_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
Methodtest_num_cols
(self)
tests/test_famd.py:57
Methodtest_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
Methodtest_partial_contrib
(self)
tests/test_mfa.py:175
Methodtest_partial_cor
(self)
tests/test_mfa.py:160
Methodtest_partial_row_coords
(self)
tests/test_mfa.py:191
Methodtest_partial_row_coords
(self)
tests/test_mfa.py:370
Functiontest_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
Methodtest_plot_runs
(self, rotations_df)
tests/test_pga.py:133
Methodtest_plot_with_color
(self, rotations_df)
tests/test_pga.py:138
Methodtest_quanti_var_coords
Column coordinates for the numerical variables should match FactoMineR's quanti.var$coord.
tests/test_mfa.py:393
Methodtest_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
Methodtest_row_contrib
(self)
tests/test_famd.py:84
Methodtest_row_contrib
(self)
tests/test_mfa.py:111
Methodtest_row_contrib
(self)
tests/test_mfa.py:350
Methodtest_row_contrib
(self)
tests/test_pca.py:165
Methodtest_row_contrib
(self)
tests/test_ca.py:114
Methodtest_row_contributions
(self)
tests/test_famd.py:201
Methodtest_row_coordinates
Figure 1: individual factor map. FactoMineR: famd$ind$coord (signs may differ per component).
tests/test_famd.py:183
Methodtest_row_coordinates_equals_transform
(self, rotations_df)
tests/test_pga.py:78
Methodtest_row_coords
(self, method_name)
tests/test_famd.py:78
Methodtest_row_coords
(self, method_name)
tests/test_mfa.py:95
Methodtest_row_coords
(self, method_name)
tests/test_mfa.py:335
Methodtest_row_coords
(self, method_name)
tests/test_pca.py:145
Methodtest_row_coords
(self, method_name)
tests/test_mca.py:84
Methodtest_row_coords
(self, method_name="row_coordinates")
tests/test_ca.py:104
Methodtest_row_cosine_similarities
(self)
tests/test_pca.py:158
Methodtest_row_cosine_similarities
(self)
tests/test_ca.py:119
Methodtest_s
(self)
tests/test_svd.py:70
Methodtest_same_seed_gives_identical_output
(self, engine)
tests/test_svd.py:101
Methodtest_scree_plot
(self, rotations_df)
tests/test_pga.py:111
Functiontest_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
Methodtest_svd_U
(self)
tests/test_ca.py:76
Methodtest_svd_V
(self)
tests/test_ca.py:81
Methodtest_total_inertia
(self)
tests/test_mfa.py:67
Methodtest_total_inertia
(self)
tests/test_mfa.py:318
Methodtest_total_inertia
(self)
tests/test_pca.py:118
Methodtest_total_inertia
(self)
tests/test_ca.py:86
Methodtest_transform
(self)
tests/test_gpa.py:56
Methodtest_transform_shape
(self, rotations_df)
tests/test_pga.py:73
Methodtest_transformed_coordinates
(self, small_quats)
tests/test_pga.py:189
Functiontest_type_doesnt_matter
Checks that the type of the columns doesn't affect the result.
tests/test_mca.py:207
Methodtest_variance_percentages_sum
(self, rotations_df)
tests/test_pga.py:66
Functiontest_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
Methodtest_xarray
(self)
tests/test_gpa.py:88
Methodtotal_inertia_
Total inertia from PCA in the tangent space.
prince/pga.py:248
Methodtransform
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
Functionwrapper
(*args, **kwargs)
prince/utils.py:22
← previous201–259 of 259, ranked by callers