First issue, seeing if anybody bites. Easy one.
Create a class for K-Means classification that encapsulates the logic now exists in functions. Class would utilize the existing Centroid() class that already exists. Pretty simple.
Thoughts on usage
kc = KMeansClassifier(X,num_zones)
kc.train(max_iters=N, convergence_criteria=Jmin, random_inits=1)
kc.predict(x)
Also update projects/Smarty-kmeans.ipynb with usage examples.
First issue, seeing if anybody bites. Easy one.
Create a class for K-Means classification that encapsulates the logic now exists in functions. Class would utilize the existing Centroid() class that already exists. Pretty simple.
Thoughts on usage
Also update projects/Smarty-kmeans.ipynb with usage examples.