Traceback (most recent call last):
File "..\School\GeorgiaTech\Assignment_3\live_pca.py", line 167, inodule>
k_means_results('Live No Feature Selection', [X,y], [X_test, y_test], colorm
ap = False)
File "..\School\GeorgiaTech\Assignment_3\live_pca.py", line 60, in k_m
eans_results
fit_results = k_means.fit(X)
File "C:\Python27\lib\site-packages\sklearn\cluster\k_means_.py", line 785, in
fit
X = self._check_fit_data(X)
File "C:\Python27\lib\site-packages\sklearn\cluster\k_means_.py", line 755, in
_check_fit_data
X = check_array(X, accept_sparse='csr', dtype=np.float64)
File "C:\Python27\lib\site-packages\sklearn\utils\validation.py", line 344, in
check_array
array = np.array(array, dtype=dtype, order=order, copy=copy)
ValueError: setting an array element with a sequence
Good luck
UPDATE
Open your csv input in excel move to rightmost column, now one more over. Hit crtl and down arrow, if you have incorrect data, youll find more elements, if you load a csv like i did