mlpy.knowledgerep.cbr.methods.CBRMethodFactory.create¶
-
static
CBRMethodFactory.
create
(_type, *args, **kwargs)[source]¶ Create an case base reasoning method of the given type.
- _type : str
- The case base reasoning method type. The method type should be equal to the class name of the method.
- args : tuple, optional
- Positional arguments passed to the class of the given type for initialization.
- kwargs : dict, optional
- Non-positional arguments passed to the class of the given type for initialization.
Returns: ICBRMethod :
A case base method instance of the given type.