Learning::ConceptLearning::Concept
Inherits Reference < Object
Represents a learned concept
Constructors
new(name : String, features : Hash(String, String | Float64 | Bool) = {} of String => String | Float64 | Bool, confidence : Float64 = 0.5)
SourceInstance methods
add_negative_example(example : Hash(String, String | Float64 | Bool))
Sourceadd_positive_example(example : Hash(String, String | Float64 | Bool))
Sourceconfidence
Sourcefeatures
Sourcematches?(example : Hash(String, String | Float64 | Bool)) : Bool
Check if example matches concept
name
Sourcenegative_examples
Sourcepositive_examples
SourceConvert to AtomSpace representation