Learning::ConceptLearning::Hypothesis
Inherits Reference < Object
Represents a hypothesis in version space
Constructors
new(constraints : Hash(String, String | Symbol))
Sourcenew_most_general
Sourcenew_most_specific
SourceInstance methods
constraints
Sourcematches?(example : Hash(String, String)) : Bool
Sourceminimal_generalizations(example : Hash(String, String)) : Array(Hypothesis)
Sourceminimal_specializations(example : Hash(String, String), specific_boundary : Array(Hypothesis)) : Array(Hypothesis)
Sourcemore_general_than?(other : Hypothesis) : Bool
Source