mlpy.knowledgerep.cbr.methods.IRetentionMethod¶
-
class
mlpy.knowledgerep.cbr.methods.
IRetentionMethod
(owner)[source]¶ Bases:
mlpy.knowledgerep.cbr.methods.ICBRMethod
The retention method interface.
When the new problem-solving experience can be stored or not stored in memory, depending on the revision outcomes and the case base reasoning policy regarding case retention.
Parameters: owner : CaseBase
A pointer to the owning case base.
Notes
All retention method implementations must inherit from this class.
Methods
execute
(case, case_matches)Execute retention step. plot_data
(case, case_matches)Plot the data.