The similarity metric and threshold are implicit in the training data.
under this approach a key function can be learned even if the similarity model is unknown, provided that sufficient equivalence classes are available.