public class SQLFunctions extends Object
Constructor and Description |
---|
SQLFunctions() |
Modifier and Type | Method and Description |
---|---|
static double |
predict(String mdl,
Double... x)
Makes prediction using specified model name to extract model from model storage and specified input values
as input object for prediction.
|
static double |
predictRecommendation(String mdl,
Integer objId,
Integer subjId)
Makes prediction using specified model name to extract model from model storage and specified input values
as input object for prediction.
|
@QuerySqlFunction public static double predict(String mdl, Double... x)
mdl
- Pretrained model.x
- Input values.@QuerySqlFunction public static double predictRecommendation(String mdl, Integer objId, Integer subjId)
mdl
- Pretrained model.objId
- Object id.subjId
- Subject id.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024