Skip to content

acwkayon/kmeans

Repository files navigation

GitHub GitHub Workflow Status GitHub tag (latest by date)

K-Means Cluster Analysis

Visit https://survivor.togaware.com/mlhub/kmeans.html. The k-means package is documented in detail in the MLHub Survival Guide.

This MLHub (https://mlhub.ai) package provides a demonstration and command line tools for kmeans cluster analysis. Kmeans will identify "natural" groups in a population dataset. This package provides the demo command to demonstrate k-means in action and provides command line tools to perform a cluster analysis, including animations.

Source code: https://github.com/acwkayon/kmeans.

Initial implementation :https://github.com/davecatmeow/showcase-demo

Initial implementation by Gefei Shan with new commands and MLHub conformation by Anita Williams.

Quick Start

Some simple examples:

wget https://raw.githubusercontent.com/acwkayon/kmeans/master/iris.csv
ml train kmeans 3 iris.csv
ml train kmeans 3 iris.csv --view
ml train kmeans 3 --view --movie iris.mp4 iris.csv |
	ml predict kmeans iris.csv |
	ml visualise kmeans