mlpy.knowledgerep.cbr.features.IntFeature.compare¶
-
IntFeature.
compare
(other)[source]¶ Compare this feature to another feature.
If the feature is represented by a list the similarity between the two features is determined by the Euclidean distance of the feature values.
Parameters: other : Feature
The other feature to compare this feature to.
Returns: float :
The similarity metric.