- MFA:
column_cosine_similarities_was not callable. Callingmfa.column_cosine_similarities_(X)raisedTypeError: 'DataFrame' object is not callablebecause a method override was trying to call the parent class's@property. The override was removed — the inherited property works correctly. Reported in #218. - MFA:
partial_row_coordinatesbroken with supplementary groups. The method crashed with a shape mismatch when supplementary groups were specified, because column weights and the data matrix had incompatible dimensions. - MFA:
partial_row_coordinatesused wrong scaling with supplementary rows. The method recomputed mean/std from the input data (including supplementary rows) instead of using the fitted scaler parameters, producing incorrect results.
- MFA: group-level results. Added
group_coordinates_,group_contributions_, andgroup_cosine_similarities_properties. These summarize how each group of variables relates to the global MFA components, corresponding to FactoMineR'sresult$group$coord,result$group$contrib, andresult$group$cos2. Requested in #217. - MFA: partial axes results. Added
partial_correlations_andpartial_contributions_properties. These describe how each group's own PCA axes relate to the global MFA axes, corresponding to FactoMineR'sresult$partial.axes$corandresult$partial.axes$contrib. Requested in #217. - MFA: partial axes correlation plot. Added
plot_partialmethod. Produces a correlation circle showing how each group's PCA axes project onto the global MFA plane, corresponding to FactoMineR'splot.MFA(res, choix="axes").
- FAMD: fix categorical variable normalization. The proportions used to normalize one-hot encoded columns were computed as
n_k / (n * num_cat_vars) * 2instead ofn_k / n. This only produced correct results when the dataset had exactly 2 categorical variables. Reported in #215.
- FAMD:
column_correlationsproperty. Returns the signed Pearson correlations between standardized quantitative variables and principal components (corresponding to FactoMineR'squanti.var$coord). These are the values plotted in a correlation circle. For qualitative variables, η² values are returned (same ascolumn_coordinates_).