incerto.active.EntropyAcquisition#

class incerto.active.EntropyAcquisition[source]#

Bases: BaseAcquisition

Entropy-based acquisition.

Select samples with highest predictive entropy (most uncertain).

Reference:

Shannon, “A Mathematical Theory of Communication” (1948)

__init__()#

Methods

__init__()

score(model, x, **kwargs)

Compute entropy scores.

score(model, x, **kwargs)[source]#

Compute entropy scores.

Parameters:
Return type:

Tensor