Skip to content
Snippets Groups Projects
  • Nick Pentreath's avatar
    b0cafdb6
    [MINOR][ML][PYSPARK] ALS example cleanup · b0cafdb6
    Nick Pentreath authored
    Cleans up ALS examples by removing unnecessary casts to double for `rating` and `prediction` columns, since `RegressionEvaluator` now supports `Double` & `Float` input types.
    
    ## How was this patch tested?
    
    Manual compile and run with `run-example ml.ALSExample` and `spark-submit examples/src/main/python/ml/als_example.py`.
    
    Author: Nick Pentreath <nickp@za.ibm.com>
    
    Closes #12892 from MLnick/als-examples-cleanup.
    b0cafdb6
    History
    [MINOR][ML][PYSPARK] ALS example cleanup
    Nick Pentreath authored
    Cleans up ALS examples by removing unnecessary casts to double for `rating` and `prediction` columns, since `RegressionEvaluator` now supports `Double` & `Float` input types.
    
    ## How was this patch tested?
    
    Manual compile and run with `run-example ml.ALSExample` and `spark-submit examples/src/main/python/ml/als_example.py`.
    
    Author: Nick Pentreath <nickp@za.ibm.com>
    
    Closes #12892 from MLnick/als-examples-cleanup.