hi Michal, Ward is used to cluster X.T (X transposed). The new features are then the clusters' means.
see: https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/cluster/hierarchical.py#L407 HTH Alex On Mon, Aug 26, 2013 at 7:20 PM, Michal Romaniuk <[email protected]> wrote: > Hi, > > I'm trying to figure out this example: > http://scikit-learn.org/stable/auto_examples/cluster/plot_feature_agglomeration_vs_univariate_selection.html#example-cluster-plot-feature-agglomeration-vs-univariate-selection-py > > I've looked at hierarchical.py and WardAgglomeration seems to just > return a Ward object. I wonder where the agglomeration behaviour comes > from? There is the file _feature_agglomeration.py that defines the > functionality but I can't see how Ward uses it. > > Thanks, > Michal > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Scikit-learn-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
