This interface allows the implementation of a function which calculates the delta between two data points.
This delta function calculates the cosine distance between two given vectors.
This delta function calculates the euclidean distance between two given points.
Extend this abstract class to implement a delta function which is aware of extracting the data on which the delta is calculated from a more complex data structure.
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.