Skip to content

Commit

Permalink
[SPARK-10331] [MLLIB] Update example code in ml-guide
Browse files Browse the repository at this point in the history
* The example code was added in 1.2, before `createDataFrame`. This PR switches to `createDataFrame`. Java code still uses JavaBean.
* assume `sqlContext` is available
* fix some minor issues from previous code review

jkbradley srowen feynmanliang

Author: Xiangrui Meng <[email protected]>

Closes apache#8518 from mengxr/SPARK-10331.
  • Loading branch information
mengxr committed Aug 30, 2015
1 parent 905fbe4 commit ca69fc8
Showing 1 changed file with 147 additions and 215 deletions.
Loading

0 comments on commit ca69fc8

Please sign in to comment.