API

HierarchicalEstimator

HierarchicalEstimator([hierarchy])

Base class for estimators using hierarchical data.

HierarchicalPreprocessor

HierarchicalPreprocessor([hierarchy])

Estimator for preprocessing hierarchical data for feature selection.

EagerHierarchicalFeatureSelector

EagerHierarchicalFeatureSelector([hierarchy])

Base class for eager feature selectors using hierarchical data.

LazyHierarchicalFeatureSelector

LazyHierarchicalFeatureSelector([hierarchy])

Abstract class used for all lazy hierarchical feature selection methods.

TSELSelector

TSELSelector([hierarchy, ...])

A tree-based feature selection method for hierarchical features.

SHSELSelector

SHSELSelector([hierarchy, relevance_metric, ...])

SHSEL feature selection method for hierarchical features.

HillClimbingSelector

HillClimbingSelector([hierarchy, alpha, ...])

Base class for hill climbing feature selection methods proposed by Wang.

TopDownSelector

TopDownSelector([hierarchy, alpha, dataset_type])

Hill climbing top down feature selection method.

BottomUpSelector

BottomUpSelector([hierarchy, alpha, k, ...])

Hill climbing bottom up feature selection method.

GreedyTopDownSelector

GreedyTopDownSelector([hierarchy, ...])

Greedy Top Down feature selection method proposed by Lu et al. 2013.

HIP

HIP([hierarchy])

Select non-redundant features with the highest relevance following the algorithm proposed by Wan and Freitas.

HNB

HNB([hierarchy, k])

Select the k non-redundant features with the highest relevance following the algorithm proposed by Wan and Freitas.

HNBs

HNBs([hierarchy])

Select non-redundant features following the algorithm proposed by Wan and Freitas.

MR

MR([hierarchy])

Select non-redundant features with the highest relevance on each path following the algorithm proposed by Wan and Freitas

RNB

RNB([hierarchy, k])

Select the k features with the highest relevance.

Tan

Tan([hierarchy])

Select non-redundant features following the algorithm proposed by Wan and Freitas.

Helper methods

get_columns_for_numpy_hierarchy

get_columns_for_numpy_hierarchy(hierarchy, ...)

Get mapping from hierarchy nodes to columns after hierarchy transformation.

create_mapping_columns_to_nodes

create_mapping_columns_to_nodes(data, hierarchy)

Creates a mapping from dataset columns to nodes in the hierarchy graph.