Skip to content

Commit

Permalink
cleaned the messy data
Browse files Browse the repository at this point in the history
  • Loading branch information
SubhoBasak committed Sep 15, 2019
1 parent 55c8adb commit 1392b2a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions KMeans_Clasifier/KMeans.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
import pandas as pd
import matplotlib.pyplot as plt
<<<<<<< HEAD
from sklearn.cluster import KMeans
=======
from sklearn.classifier import KMeans
>>>>>>> ccbc43a16f9c2dd50967df910ba6ebfcbb323c0d

df = pd.read_csv('xclara.csv')

x1 = df['V1']
x2 = df['V2']

<<<<<<< HEAD
range_cluster = range(1, 11)
sse = []

Expand All @@ -38,7 +33,3 @@

plt.scatter(x1, x2, c = model.labels_)
plt.show()
=======
for i in range(10):
model = KMeans(n_cluster = )
>>>>>>> ccbc43a16f9c2dd50967df910ba6ebfcbb323c0d

0 comments on commit 1392b2a

Please sign in to comment.