Description Usage Arguments Details
PCA Plot output with column names. Gives only the top two dimensions
1 | spark_plot_pca(ml_pca_model)
|
ml_pca_model |
is the spark pca model outputs table you will pass to the function. |
You must have ggrepel installed
Example selection of a spark table and graph
pca = ml_pca(tbl(sc, sql("select * from db.stock_samples_20m limit 100")))
spark_plot_pca(pca))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.