@DefaultImplementation(value=IdentityClampingFunction.class) public interface ClampingFunction
Function for clamping user-item data, typically a preference or rating.
Modifier and Type | Method and Description |
---|---|
double |
apply(long user,
long item,
double value)
Clamp a value.
|