7.1 kmeans configure

20211121 The kmeans package is Python based and utilises the system application ffmpeg. Python libraries utilised include numpy, matplotlib, pandas, and scikit-learn. On a Ubuntu system the first three can be system installed as python3-numpy, python3-matplotlib, and python3-pandas. The scikit-learn library can be installed from PyPI. For MacOS they can all be installed from PyPI.

$ ml configure kmeans

*** The following required system packages are already installed:

*** The following required system packages are already installed:
  python3-numpy python3-matplotlib python3-pandas

*** The following required pip packages are already installed:

*** Downloading required files ...

To view the model's README:

  $ ml readme kmeans

Other Python and support files are downloaded from GitHub as specified in the MLHUB.yaml file.

  name         : kmeans
  title        : An animation demonstration for the kmeans clustering
  keywords     : python, visualisation, clustering
  languages    : py
  license      : gpl3
  author       : Gefei Shan, Graham Williams
  url          : https://github.com/gjwgit/kmeans
    - ffmpeg
    - numpy
    - matplotlib
    - pandas
    - scikit-learn
    - README.md
    - demo.py
    - train.py
    - predict.py
    - utils.py
    - iris.csv
  demo : Demonstrate the model capabilities in one easy session.
  train : Training the kmeans model on a given csv data file.
  predict : label the dataset with a provided model file(csv for cluster centres)

Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0