class

Learning::ConceptLearning::Hypothesis

Inherits Reference < Object

Represents a hypothesis in version space

Constructors

new(constraints : Hash(String, String | Symbol))
Source
new_most_general
Source
new_most_specific
Source

Instance methods

constraints
Source
matches?(example : Hash(String, String)) : Bool
Source
minimal_generalizations(example : Hash(String, String)) : Array(Hypothesis)
Source
minimal_specializations(example : Hash(String, String), specific_boundary : Array(Hypothesis)) : Array(Hypothesis)
Source
more_general_than?(other : Hypothesis) : Bool
Source