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)
Instance methods
add_negative_example(example : Hash(String, String | Float64 | Bool))
add_positive_example(example : Hash(String, String | Float64 | Bool))
confidence
features
matches?(example : Hash(String, String | Float64 | Bool)) : Bool
Check if example matches concept
name
negative_examples
positive_examples
Convert to AtomSpace representation