mlpy.knowledgerep.cbr.similarity.ExactMatchSimilarity.compute_similarity¶
-
ExactMatchSimilarity.
compute_similarity
(data_point)[source]¶ Computes the similarity.
Computes the similarity between the data point and the data in the indexing structure identifying exact matches. The results are returned 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.