Skip to content

formegusto/kmeans-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 Typescript로 구현해 보는 KMeans

📕 initial settings

/* 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

📗 generate random point dataset

/* Please check the output folder after execution! */
npm run gen-dataset -- -l 100
or
yarn gen-dataset -l <data length>

📘 run kmeans

/* 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>
iter bingle bingle eojil eojil my first ai jeonli kkeut