Monty.Experiment.RecognitionStrategy.MinimumLMs (ExTbpMonty.Core v0.1.0)

Copy Markdown View Source

Done once enough learning modules have concluded, whatever they concluded.

Mirrors tbp/monty/experiment/recognition_strategy.py::MinimumLMs. It reads only whether a module concluded — :match, :no_match or :time_out all count — which is what makes it usable when the question is "has every module made up its mind" rather than "did we recognise the object".

Summary

Functions

Done when enough modules have concluded, however they concluded.

A policy satisfied by :min_lms concluded modules.

Functions

call(model, counter, map)

Done when enough modules have concluded, however they concluded.

new(options)

@spec new(keyword()) :: {:ok, {module(), map()}} | {:error, String.t()}

A policy satisfied by :min_lms concluded modules.

Monty raises ValueError for a minimum that is not positive; here that is {:error, message} with Monty's own words.