henchman.selection.Dendrogram.score_at_point

Dendrogram.score_at_point(X, y, model, metric, step, n_splits=1)[source]

A helper method for scoring a Dendrogram at a step.

Parameters:
  • X (pd.DataFrame) – A dataframe with the same columns that the Dendrogram was built with.
  • y (pd.Series) – Labels for X.
  • step (int) – Which position in self.threshlist to show features from.
  • scoring_func (func) – A function which takes in X and y.