Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-10331] [MLLIB] Update example code in ml-guide
* 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