mlpy.knowledgerep.cbr.engine.Case.get_retrieval_method

Case.get_retrieval_method(names)[source]

Returns the retrieval method for the given features.

Parameters:

names : str or list[str]

The name(s) of the feature for which to retrieve the retrieval method.

Returns:

str :

The retrieval method for all feature. Features grouped together for retrieval must use the same retrieval method.

Raises:

UserWarning

If not all features use the same retrieval method.