public final class DotsFunction extends Object implements CosineDistanceSensitiveFunction
Constructor and Description |
---|
DotsFunction(float[] userVector) |
DotsFunction(float[][] userFeaturesVectors) |
Modifier and Type | Method and Description |
---|---|
double |
applyAsDouble(float[] itemVector) |
float[] |
getTargetVector() |
public DotsFunction(float[] userVector)
public DotsFunction(float[][] userFeaturesVectors)
public double applyAsDouble(float[] itemVector)
applyAsDouble
in interface ToDoubleFunction<float[]>
public float[] getTargetVector()
getTargetVector
in interface CosineDistanceSensitiveFunction
Copyright © 2014–2018. All rights reserved.