mlpy.knowledgerep.cbr.methods.ICBRMethod

class mlpy.knowledgerep.cbr.methods.ICBRMethod[source]

Bases: object

The method interface.

This is the interface for reuse, revision, and retention methods and handles registration of all subclasses.

It uses the RegistryInterface ensuring that all subclasses are registered. Therefore, new specialty case base reasoning method classes can be defined and are recognized by the case base reasoning engine.

Notes

All case base reasoning method must inherit from this class.

Methods

execute(case, case_matches, **kwargs) Execute reuse step.
plot_data(case, case_matches, **kwargs) Plot the data.