데이터분류 (1) 썸네일형 리스트형 [Python] 22. Kmeans from sklearn.cluster import KMeans import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt import mglearn from sklearn.datasets import load_iris from sklearn.model_selection import GridSearchCV import warnings warnings.simplefilter('ignore') Kmeans mglearn.plots.plot_kmeans_algorithm() # 랜덤하게 점 찍은 후 가까운 점들 분류하고 센터로 이동 분류 이동 ... 데이터 불러오기 (pd.read_csv) python 파.. 이전 1 다음