/k-means

Python3 implementation of the k-means algorithm that runs on console.

Primary LanguagePython

This directory contains the following files:
	tp3.py
	main.py
	iris.csv

To execute:
	Open a terminal in this directory and run the following command:
	> python main.py

How it works:
	Inside the program, you have 2 choices:
	Press 1 if you want to test the k-means algorythm with random data.
	Press 2 if you want to test the k-means algorythm with the predefined iris data.

Results:
	The results will be written in the format CSV in the files "centers.txt" and "results.txt"

##If datas appears in one column in your (csv) file: 
-->you should change your area settings and put the lists divider to ";" instead of ","