/* download code */
git clone https://github.com/formegusto/kmeans-ts.git
cd kmeans-ts
/* install package */
npm install or yarn
/* make required directory */
mkdir output
/* Please check the output folder after execution! */
npm run gen-dataset -- -l 100
or
yarn gen-dataset -l <data length>
/* Please check the output folder after execution! */
npm run kmeans -- -f <dataset-filename> -t <result | steps, output file type> -k <HyperParameter>
or
yarn kmeans -f <dataset-filename> -t <result | steps, output file type> -k <HyperParameter>