HNB, HNB-s, RNBΒΆ
2013 Wan, Freitas and de Magalhaes introduced an algorithm to select features based on their relevance and hierarchical redundancy ([WFdM15]). The relevance is calculated by

The Hierarchy Based Redundant Attribute Removal Naive Bayes Classifier (HNB) contains two phases which are executed for each test instance.
First, it considers every feature
. If its value is 1 it removes all ancestors
(
is an ancestor of
iff
is reachable from
), whose relevance is lower or equal than the relevance of
.
Else if the value of
is 0 it removes all descendants
(reachable nodes from
) whose relevance is lower.
In a second step it selects the
most relevant features from the obtained set.
On the selected features of the training set an estimator can now calculate a prediction for the testing instance.
Wan, Freitas and de Magalhaes suggest the usage of an Naive Bayes Classifier, the library allows the combination with any sklearn-compatible binary classifier.
The two phases can be executed separately from each other. The so called HNB-s selects all non-redundant features without performing any after-selecting steps. In contrast the Relevance-based Naive Bayes (RNB) only selects the top-k-ranked features in descending order of their individual predictive power measured by their relevance (see above).