mlpy.knowledgerep.cbr.methods.CBRMethodFactory

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

Bases: object

The case base reasoning factory.

An instance of a case base reasoning method can be created by passing the case base reasoning method type. Case base reasoning methods are used to implement task specific reuse, revision, and retention.

Examples

>>> from mlpy.knowledgerep.cbr.methods import CBRMethodFactory
>>> CBRMethodFactory.create('defaultreusemethod', **{})

Methods

create(_type, *args, **kwargs) Create an case base reasoning method of the given type.