The type-safe method that ML developers need to implement when writing new Estimators.
The type-safe method that ML developers need to implement when writing new Estimators.
The estimator's training data.
A new transformer
Tolerance used to decide when to terminate Lloyd's algorithm
Constructs a pipeline that fits this estimator to training data, then applies the resultant transformer to the Pipeline input.
Constructs a pipeline that fits this estimator to training data, then applies the resultant transformer to the Pipeline input.
The training data
A pipeline that fits this estimator and applies the result to inputs.
Constructs a pipeline that fits this estimator to training data, then applies the resultant transformer to the Pipeline input.
Constructs a pipeline that fits this estimator to training data, then applies the resultant transformer to the Pipeline input.
The training data
A pipeline that fits this estimator and applies the result to inputs.
Trains a k-means++ transformer
if you run for one round, this is the same as the k-means++ initialization. If you run for more rounds, you are running Lloyd's algorithm with the k-means++ initialization scheme.
Tolerance used to decide when to terminate Lloyd's algorithm