mlpy.knowledgerep.cbr.similarity.ExactMatchSimilarity¶
-
class
mlpy.knowledgerep.cbr.similarity.
ExactMatchSimilarity
(**kwargs)[source]¶ Bases:
mlpy.knowledgerep.cbr.similarity.ISimilarity
The exact match similarity model.
The exact match similarity model considered only exact matches between the data in the indexing structure and the query data as similar.
Methods
build_indexing_structure
(data, id_map)Build the indexing structure. compute_similarity
(data_point)Computes the similarity.