mlpy.knowledgerep.cbr.features.Feature.compare

Feature.compare(other)[source]

Compare this feature to another feature.

Parameters:

other : Feature

The other feature to compare this feature to.

Returns:

float :

The similarity metric.

Raises:

NotImplementedError:

If the child class does not implement this function.