mlpy.knowledgerep.cbr.methods.IRetentionMethod¶
-
class
mlpy.knowledgerep.cbr.methods.
IRetentionMethod
[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.
Notes
All retention method implementations must inherit from this class.
Methods
execute
(case, case_matches[, fn_add])Execute retention step. plot_data
(case, case_matches, **kwargs)Plot the data.