diff options
author | Bryan Cutler <cutlerb@gmail.com> | 2016-08-05 20:57:46 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-08-05 20:57:46 +0100 |
commit | 180fd3e0a3426db200c97170926afb60751dfd0e (patch) | |
tree | 4d10f86a901a0cfd52121f856f409a2b90ff5404 /conf/metrics.properties.template | |
parent | 2460f03ffe94154b73995e4f16dd799d1a0f56b8 (diff) | |
download | spark-180fd3e0a3426db200c97170926afb60751dfd0e.tar.gz spark-180fd3e0a3426db200c97170926afb60751dfd0e.tar.bz2 spark-180fd3e0a3426db200c97170926afb60751dfd0e.zip |
[SPARK-16421][EXAMPLES][ML] Improve ML Example Outputs
## What changes were proposed in this pull request?
Improve example outputs to better reflect the functionality that is being presented. This mostly consisted of modifying what was printed at the end of the example, such as calling show() with truncate=False, but sometimes required minor tweaks in the example data to get relevant output. Explicitly set parameters when they are used as part of the example. Fixed Java examples that failed to run because of using old-style MLlib Vectors or problem with schema. Synced examples between different APIs.
## How was this patch tested?
Ran each example for Scala, Python, and Java and made sure output was legible on a terminal of width 100.
Author: Bryan Cutler <cutlerb@gmail.com>
Closes #14308 from BryanCutler/ml-examples-improve-output-SPARK-16260.
Diffstat (limited to 'conf/metrics.properties.template')
0 files changed, 0 insertions, 0 deletions