API Reference#

This is the class and function reference of intra-class-rare-learn. Refer to the User Guide for more information on how to use the package.

Predictor#

ICRRandomForestClassifier([n_estimators, ...])

A RF classifier that uses intra-class rarity.

Rarity Measures#

rarity.calculate_cb_loop(X, y[, min_score, ...])

Calculate Class-Based Local Outlier Probability (CB-LoOP) rarity scores.

rarity.calculate_l2class(X, y[, ...])

Calculate L2Class rarity scores.

Utilities#

utils.discovery.all_estimators([type_filter])

Get a list of all estimators from icrlearn.

utils.discovery.all_displays()

Get a list of all displays from icrlearn.

utils.discovery.all_functions()

Get a list of all functions from icrlearn.