O
- Type of an object of recommendation.S
- Type of a subject of recommendation.public class RecommendationModel<O extends Serializable,S extends Serializable> extends Object implements IgniteModel<ObjectSubjectPair<O,S>,Double>
ObjectSubjectPair
.Constructor and Description |
---|
RecommendationModel(Map<O,Vector> objMatrix,
Map<S,Vector> subjMatrix)
Constructs a new instance of recommendation model.
|
Modifier and Type | Method and Description |
---|---|
Double |
predict(ObjectSubjectPair<O,S> input)
Make a prediction for the specified input arguments.
|
public Double predict(ObjectSubjectPair<O,S> input)
predict
in interface Model<ObjectSubjectPair<O extends Serializable,S extends Serializable>,Double>
input
- Input arguments.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024