spark-instrumented-optimizer/data/mllib
Bryan Cutler 180fd3e0a3 [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.
2016-08-05 20:57:46 +01:00
..
als [SPARK-12247][ML][DOC] Documentation for spark.ml's ALS and collaborative filtering in general 2016-02-16 13:03:28 +00:00
ridge-data SPARK-2363. Clean MLlib's sample data files 2014-07-13 19:27:43 -07:00
gmm_data.txt [SPARK-5013] [MLlib] Added documentation and sample data file for GaussianMixture 2015-02-06 10:26:51 -08:00
kmeans_data.txt SPARK-2363. Clean MLlib's sample data files 2014-07-13 19:27:43 -07:00
pagerank_data.txt SPARK-2363. Clean MLlib's sample data files 2014-07-13 19:27:43 -07:00
pic_data.txt [SPARK-8758] [MLLIB] Add Python user guide for PowerIterationClustering 2015-07-02 09:59:54 -07:00
sample_binary_classification_data.txt [SPARK-1874][MLLIB] Clean up MLlib sample data 2014-05-19 21:29:33 -07:00
sample_fpgrowth.txt [SPARK-5939][MLLib] make FPGrowth example app take parameters 2015-02-23 08:47:28 -08:00
sample_isotonic_regression_libsvm_data.txt [SPARK-15608][ML][EXAMPLES][DOC] add examples and documents of ml.isotonic regression 2016-06-16 17:35:40 -07:00
sample_kmeans_data.txt [SPARK-14340][EXAMPLE][DOC] Update Examples and User Guide for ml.BisectingKMeans 2016-05-11 09:56:36 +02:00
sample_lda_data.txt [SPARK-5539][MLLIB] LDA guide 2015-02-08 23:40:36 -08:00
sample_lda_libsvm_data.txt [SPARK-15150][EXAMPLE][DOC] Update LDA examples 2016-05-11 12:49:41 +02:00
sample_libsvm_data.txt SPARK-2363. Clean MLlib's sample data files 2014-07-13 19:27:43 -07:00
sample_linear_regression_data.txt [SPARK-1874][MLLIB] Clean up MLlib sample data 2014-05-19 21:29:33 -07:00
sample_movielens_data.txt [SPARK-1874][MLLIB] Clean up MLlib sample data 2014-05-19 21:29:33 -07:00
sample_multiclass_classification_data.txt [SPARK-7574] [ML] [DOC] User guide for OneVsRest 2015-05-22 13:18:08 -07:00
sample_svm_data.txt SPARK-2363. Clean MLlib's sample data files 2014-07-13 19:27:43 -07:00
streaming_kmeans_data_test.txt [SPARK-13013][DOCS] Replace example code in mllib-clustering.md using include_example 2016-03-03 09:32:47 -08:00