GitHub user MLnick opened a pull request:

    https://github.com/apache/spark/pull/12892

    [MINOR][ML][PYSPARK] ALS example cleanup

    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`.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MLnick/spark als-examples-cleanup

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/12892.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #12892
    
----
commit 0f03e7b4f50878159f6623dddb42a7da27e96514
Author: Nick Pentreath <[email protected]>
Date:   2016-05-04T08:23:46Z

    Remove unnecessary cast to double

commit 08dbbb2c4e720709f1e225718717f90aeb29f017
Author: Nick Pentreath <[email protected]>
Date:   2016-05-04T08:29:19Z

    Remove unnecessary cast to double in PySpark example

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to