Monty.Frameworks.Models.EvidenceMatching.FeaturesForMatching.AllSelector (ExTbpMonty.Core v0.1.0)

Copy Markdown View Source

Features are matched whenever the experiment weighted the channel at all.

Mirrors tbp/monty/frameworks/models/evidence_matching/features_for_matching/all_selector.py, which is the alternative to the default selector: it does not ask whether a channel has any non-pose feature weights, only whether it was weighted at all. Naming this selector in an experiment means "match on what I configured, including a channel weighted only on poses".

Summary

Functions

Whether features are matched, per input channel — every weighted channel, as long as feature evidence counts for something.

Functions

select(feature_evidence_increment, feature_weights, tolerances)

@spec select(number(), %{optional(String.t()) => map()}, %{
  optional(String.t()) => map()
}) :: %{
  optional(String.t()) => boolean()
}

Whether features are matched, per input channel — every weighted channel, as long as feature evidence counts for something.