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, predictionCol
blockSize, getBlockSize
clear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
toString, uid
Column checkIntegers(Dataset<?> dataset, String colName)
dataset
- (undocumented)colName
- (undocumented)Param<String> coldStartStrategy()
String getColdStartStrategy()
String getItemCol()
String getUserCol()
Param<String> itemCol()
Param<String> userCol()