I'm trying to follow this Learn - K-means clustering with tidy data principles.
And got a bit confused in:
Why in kclust =
, it needs to use ~ and .x? How's this exactly applied? Meanwhile, bellow
in augmented =
, it only applies the column name points
in map(kclust, augment, points)?
Thank you.