摘要: 摘自:http://pythonhosted.org/scikit-fuzzy/auto_examples/plot_cmeans.html#example-plot-cmeans-py,加入了自己的理解! 预测: 经过测试,是可以处理三维数据聚类的: 结果为: 阅读全文
posted @ 2017-07-28 17:00 bonelee 阅读(4588) 评论(1) 推荐(0)
摘要: import numpy as np import matplotlib.pyplot as plt plt.figure(1) # 创建图表1 plt.figure(2) # 创建图表2 ax1 = plt.subplot(211) # 在图表2中创建子图1 ax2 = plt.subplot(212) # 在图表2中创建子图2 x = np.linspace(0, 3, 100) for i... 阅读全文
posted @ 2017-07-28 16:44 bonelee 阅读(622) 评论(0) 推荐(0)