filmov
tv
Python Bytes - Machine Learning K Means Part 11 Plot Cluster Matplotlib All Columns Code in Descripn
![preview_player](https://i.ytimg.com/vi/066Z-7VtWO4/maxresdefault.jpg)
Показать описание
#Coded by Andrew C
import pandas as pd
from sklearn import datasets
import numpy as numpy
scale = StandardScaler()
k_opt = 3
kmeans_all = KMeans(k_opt)
X_scaled_all[:,1],
c= y_pred_all)
marker="*",
s = 250,
c = [0,1,2],
edgecolors='k')
#coding #datascience #python
import pandas as pd
from sklearn import datasets
import numpy as numpy
scale = StandardScaler()
k_opt = 3
kmeans_all = KMeans(k_opt)
X_scaled_all[:,1],
c= y_pred_all)
marker="*",
s = 250,
c = [0,1,2],
edgecolors='k')
#coding #datascience #python