public interface CosineDistanceSensitiveFunction
extends ToDoubleFunction<float[]>
Implementations of this type of function return a value that depends on
cosine distance to a target vector and thus makes sense to use with the
locality-sensitive hash logic in ALSServingModel.