mlpy.knowledgerep.cbr.similarity.ISimilarity.compute_similarity¶
-
ISimilarity.
compute_similarity
(data_point)[source]¶ Computes the similarity.
Computes the similarity between the data point and the data in the indexing structure returning the results in a collection of similarity statistics (
Stat
).Parameters: data_point : list[float]
The raw data point to compare against the data points stored in the indexing structure.
Returns: list[Stat] :
A collection of similarity statistics.
Raises: NotImplementedError
If the child class does not implement this function.