Learn R Programming

sparklyr (version 1.8.5)

ml_kmeans_cluster_eval: Evaluate a K-mean clustering

Description

Evaluate a K-mean clustering

Arguments

model

A fitted K-means model returned by ml_kmeans()

dataset

Dataset on which to calculate K-means cost