摘要:
使用PCA方法对高维的鸢尾花数据(4维3类样本)进行降维分类,部分鸢尾花数据集如下: #coding=utf-8 import matplotlib.pyplot as plt from sklearn.decomposition import PCA from sklearn.datasets i 阅读全文
posted @ 2017-11-07 22:03
yoyoball9999
阅读(7347)
评论(0)
推荐(1)
摘要:
使用KMeans算法对简单的jpg图片进行处理得到大概轮廓 #coding = utf-8 import numpy as np import PIL.Image as image from sklearn.cluster import KMeans def loadData(filePath): 阅读全文
posted @ 2017-11-07 21:54
yoyoball9999
阅读(338)
评论(0)
推荐(0)

浙公网安备 33010602011771号