You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AgglomerativeClustering.n_components_ is the number of connected components in the graph. That's a bit confusing since n_components_ has a very specific meaning in other places in sklearn.
In particular, FeatureAgglomeration inherits this n_components_, so this is a transformer that as n_components_ which doesn't correspond to the output dimensions.
If we explicitly store the output dimension, that might be less of an issue, but I find the naming is a bit misleading and maybe we could use n_connected_components_ instead?
Activity
jnothman commentedon Mar 2, 2019
adrinjalali commentedon Mar 3, 2019
I guess we'd need to add
n_connected_components_and deprecate the old one.+1 to explicit
n_input_features_andn_output_features_as well.scouvreur commentedon Mar 10, 2019
Hi there - let me try and fix this issue
scouvreur commentedon Mar 18, 2019
Hi there - apologies would it be possible to get some feedback on this PR ? Thanks alot in advance
thomasjpfan commentedon Jun 11, 2019
Fixed in #13427