plot.aml_k_means: AML k-means default plot function

Description Usage Arguments

View source: R/k_means.R

Description

Plots a basic k-means scatterplot graph based on given results. Will plot a scatterplot of the first two principal components if data has more than 2 columns.

Usage

1
2
3
## S3 method for class 'aml_k_means'
plot(results_object, plot_centroids = FALSE,
  tsne_reduction = FALSE)

Arguments

results_object

Results object returned by aml_k_means function

plot_centroids

Logical to plot centroids along with points

tsne_reduction

Logical to use t-SNE for dimensionality reduction


jmwerner/ArtisanalMachineLearning documentation built on Jan. 7, 2020, 1:50 a.m.