org.apache.spark.ml.recommendation
Param for the alpha parameter in the implicit preference formulation.
Param for the alpha parameter in the implicit preference formulation.
Check whether the given schema contains an input column.
Check whether the given schema contains an input column.
Parameter name for the input column.
SQL DataType of the input column.
param for checkpoint interval
param for checkpoint interval
Returns the documentation of all params.
Returns the documentation of all params.
Fitting parameters, such that parent.
Gets the value of a parameter in the embedded param map.
Gets the value of a parameter in the embedded param map.
Param to decide whether to use implicit preference.
Param to decide whether to use implicit preference.
Checks whether a param is explicitly set.
Checks whether a param is explicitly set.
Param for the column name for item ids.
Param for the column name for item ids.
param for max number of iterations
param for max number of iterations
Param for whether to apply nonnegativity constraints.
Param for whether to apply nonnegativity constraints.
Param for number of item blocks.
Param for number of item blocks.
Param for number of user blocks.
Param for number of user blocks.
Internal param map.
Internal param map.
Returns all params.
Returns all params.
The parent estimator that produced this model.
param for prediction column name
param for prediction column name
Param for rank of the matrix factorization.
Param for rank of the matrix factorization.
Param for the column name for ratings.
Param for the column name for ratings.
param for regularization parameter
param for regularization parameter
Sets a parameter in the embedded param map.
Sets a parameter in the embedded param map.
Transforms the dataset with provided parameter map as additional parameters.
Transforms the dataset with provided parameter map as additional parameters.
input dataset
additional parameters, overwrite embedded params
transformed dataset
Transforms the dataset with optional parameters
Transforms the dataset with optional parameters
input dataset
optional list of param pairs, overwrite embedded params
transformed dataset
:: DeveloperApi ::
:: DeveloperApi ::
Derives the output schema from the input schema and parameters. The schema describes the columns and types of the data.
Input schema to this stage
Parameters passed to this stage
Output schema from this stage
Derives the output schema from the input schema and parameters, optionally with logging.
Derives the output schema from the input schema and parameters, optionally with logging.
Param for the column name for user ids.
Param for the column name for user ids.
Validates parameter values stored internally.
Validates parameter values stored internally. Raise an exception if any parameter value is invalid.
Validates parameter values stored internally plus the input parameter map.
Validates parameter values stored internally plus the input parameter map. Raises an exception if any parameter is invalid.
Validates and transforms the input schema.
Validates and transforms the input schema.
input schema
extra params
output schema
A list of (hyper-)parameter keys this algorithm can take. Users can set and get the parameter values through setters and getters, respectively.
Model fitted by ALS.