mlpy.knowledgerep.cbr.features.FloatFeature.compare¶
-
FloatFeature.
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.