mlpy.knowledgerep.cbr.features.FeatureFactory

class mlpy.knowledgerep.cbr.features.FeatureFactory[source]

Bases: object

The feature factory.

An instance of a feature can be created by passing the feature type.

Examples

>>> from mlpy.knowledgerep.cbr.features import FeatureFactory
>>> FeatureFactory.create('float', **{})

Methods

create(_type, name, value, **kwargs) Create a feature of the given type.