R/ml_model_als.R

Defines functions new_ml_model_als

new_ml_model_als <- function(pipeline_model, formula, dataset) {
  m <- new_ml_model_recommendation(
    pipeline_model,
    formula,
    dataset = dataset,
    class = "ml_model_als"
  )

  m$`.jobj` <- spark_jobj(m)

  m
}

Try the sparklyr package in your browser

Any scripts or data that you put into this service are public.

sparklyr documentation built on June 20, 2026, 9:07 a.m.