Monty.Experiment.MatchCriteria.AnyLMsMatch (ExTbpMonty.Core v0.1.0)

Copy Markdown View Source

Satisfied once any count learning modules have recognised an object.

Mirrors tbp/monty/experiment/match_criteria.py::AnyLMsMatch. This is the criterion a single-module experiment uses with count: 1: the one module matched, so Monty has recognised the object. With several modules it is a quorum — two of five columns agreeing is enough.

A count below one would be satisfied before anything was seen, so it is refused when the criterion is built.

Summary

Functions

A criterion that needs count modules to match.

Types

t()

@type t() :: %Monty.Experiment.MatchCriteria.AnyLMsMatch{count: pos_integer()}

Functions

new(count)

@spec new(pos_integer()) :: {:ok, t()} | {:error, :count_must_be_positive}

A criterion that needs count modules to match.