class

PatternMatching::Advanced::StatisticalMatcher

Inherits Reference < Object

Statistical and probabilistic pattern matching

Constructors

new(atomspace : AtomSpace::AtomSpace, fuzzy_threshold : Float64 = 0.7)

Instance methods

atomspace
bayesian_inference(evidence_patterns : Array(Pattern), hypothesis_pattern : Pattern) : ProbabilisticMatch | Nil

Bayesian inference for pattern prediction

fuzzy_match(pattern : Pattern, similarity_threshold : Float64 = 0.8) : Array(ProbabilisticMatch)

Fuzzy pattern matching with partial matches

fuzzy_threshold
monte_carlo_sampling(pattern : Pattern, num_samples : Int32 = 1000) : Array(ProbabilisticMatch)

Monte Carlo sampling for complex pattern spaces

probabilistic_cache
probabilistic_match(pattern : Pattern) : Array(ProbabilisticMatch)

Probabilistic pattern matching using truth values and attention values

Nested types