mlpy.knowledgerep.cbr.similarity.ISimilarity.build_indexing_structure

ISimilarity.build_indexing_structure(data, id_map)[source]

Build the indexing structure.

Parameters:

data : ndarray[ndarray[float]]

The raw data points to be indexed.

id_map : dict[int, int]

The mapping from the data points to their case ids.

Raises:

NotImplementedError

If the child class does not implement this function.