Skip to content
Snippets Groups Projects
  • Yanbo Liang's avatar
    9095c152
    [SPARK-18325][SPARKR][ML] SparkR ML wrappers example code and user guide · 9095c152
    Yanbo Liang authored
    
    ## What changes were proposed in this pull request?
    * Add all R examples for ML wrappers which were added during 2.1 release cycle.
    * Split the whole ```ml.R``` example file into individual example for each algorithm, which will be convenient for users to rerun them.
    * Add corresponding examples to ML user guide.
    * Update ML section of SparkR user guide.
    
    Note: MLlib Scala/Java/Python examples will be consistent, however, SparkR examples may different from them, since R users may use the algorithms in a different way, for example, using R ```formula``` to specify ```featuresCol``` and ```labelCol```.
    
    ## How was this patch tested?
    Run all examples manually.
    
    Author: Yanbo Liang <ybliang8@gmail.com>
    
    Closes #16148 from yanboliang/spark-18325.
    
    (cherry picked from commit 9bf8f3cd)
    Signed-off-by: default avatarYanbo Liang <ybliang8@gmail.com>
    9095c152
    History
    [SPARK-18325][SPARKR][ML] SparkR ML wrappers example code and user guide
    Yanbo Liang authored
    
    ## What changes were proposed in this pull request?
    * Add all R examples for ML wrappers which were added during 2.1 release cycle.
    * Split the whole ```ml.R``` example file into individual example for each algorithm, which will be convenient for users to rerun them.
    * Add corresponding examples to ML user guide.
    * Update ML section of SparkR user guide.
    
    Note: MLlib Scala/Java/Python examples will be consistent, however, SparkR examples may different from them, since R users may use the algorithms in a different way, for example, using R ```formula``` to specify ```featuresCol``` and ```labelCol```.
    
    ## How was this patch tested?
    Run all examples manually.
    
    Author: Yanbo Liang <ybliang8@gmail.com>
    
    Closes #16148 from yanboliang/spark-18325.
    
    (cherry picked from commit 9bf8f3cd)
    Signed-off-by: default avatarYanbo Liang <ybliang8@gmail.com>