public interface ALSModelParams extends Params, HasPredictionCol, HasBlockSize
| Modifier and Type | Method and Description |
|---|---|
Column |
checkIntegers(Dataset<?> dataset,
String colName)
Attempts to safely cast a user/item id to an Int.
|
Param<String> |
coldStartStrategy()
Param for strategy for dealing with unknown or new users/items at prediction time.
|
String |
getColdStartStrategy() |
String |
getItemCol() |
String |
getUserCol() |
Param<String> |
itemCol()
Param for the column name for item ids.
|
Param<String> |
userCol()
Param for the column name for user ids.
|
getPredictionCol, predictionColblockSize, getBlockSizeclear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwntoString, uidColumn checkIntegers(Dataset<?> dataset, String colName)
dataset - (undocumented)colName - (undocumented)Param<String> coldStartStrategy()
String getColdStartStrategy()
String getItemCol()
String getUserCol()
Param<String> itemCol()
Param<String> userCol()