skactiveml.base.AnnotatorModelMixin#

class skactiveml.base.AnnotatorModelMixin[source]#

Bases: ABC

Base class of all annotator models estimating the performances of annotators for given samples.

Methods

predict_annotator_perf(X)

Calculates the performance of an annotator to provide the true label for a given sample.

abstract predict_annotator_perf(X)[source]#

Calculates the performance of an annotator to provide the true label for a given sample.

Parameters
Xarray-like of shape (n_samples, n_features)

Test samples.

Returns
P_annotnumpy.ndarray of shape (n_samples, n_annotators)
P_annot[i,l] is the performance of annotator l regarding the

annotation of sample X[i].