datumaro.plugins.sampler.algorithm.algorithm#

Classes

Algorithm(value)

An enumeration.

InferenceResultAnalyzer(dataset, inference)

Basic interface for IRA (Inference Result Analyzer)

SamplingMethod(value)

An enumeration.

class datumaro.plugins.sampler.algorithm.algorithm.SamplingMethod(value)[source]#

Bases: Enum

An enumeration.

topk = 1#
lowk = 2#
randk = 3#
mixk = 4#
randtopk = 5#
class datumaro.plugins.sampler.algorithm.algorithm.Algorithm(value)[source]#

Bases: Enum

An enumeration.

entropy = 1#
class datumaro.plugins.sampler.algorithm.algorithm.InferenceResultAnalyzer(dataset, inference)[source]#

Bases: object

Basic interface for IRA (Inference Result Analyzer)

get_sample(method: str, k: int)[source]#