skactiveml.pool.utils#

Classes#

pool.utils.IndexClassifierWrapper

Classifier to simplify retraining classifiers in an active learning scenario.

Functions#

pool.utils.expected_target_val

Calculates the conditional expectation of a function depending only on the target value for each sample in X, i.e., E[target_func(Y)|X=x], where Y | X=x ~ reg.predict_target_distribution, for x in X.

pool.utils.conditional_expect

Calculates the conditional expectation of a function depending on an index, the feature value, and the label for each sample in X, i.e., E[func(idx, x, Y)|X=x], where Y | X=x ~ reg.predict_target_distribution, for x in X.