import matplotlib.pyplot as plt import numpy as np def readfile(filename): dataList = [] dataNum = 0 with open(filename,'r') as f: for line in f.readlines(): linestr = line.strip('\n') ...
喜欢打酱油的老鸟的博客import matplotlib.pyplot as plt import numpy as np from matplotlib.patches import Ellipse from PIL import Image from sklearn import datasets from sklearn.cluster import KMeans 我们将使用...