skactiveml.pool.utils#
Classes#
Classifier to simplify retraining classifiers in an active learning scenario. |
Functions#
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. |
|
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. |