"Bala subramanian" wrote
I wrote the following code to create two different list. One containing
data
points of all clusters and another containing list of individual cluster
data points. The script is as follows.
data=[] # list of all data points
all=[ [] for value in range(int(argv[2])) ]
Friends,
I wrote the following code to create two different list. One containing data
points of all clusters and another containing list of individual cluster
data points. The script is as follows.
#!/usr/bin/env python
from sys import argv
# STEP 1: a) ACCUMULATING ALL DATA POINTS IN AND A LIST