摘要: instance: 我们先对此数据集进行轮廓系数的计算 from sklearn import metrics import matplotlib.pyplot as plt from sklearn.cluster import KMeans from sklearn import preproc 阅读全文
posted @ 2022-08-10 21:15 故y 阅读(195) 评论(0) 推荐(0)
摘要: 直接上代码 from sklearn import metrics import matplotlib.pyplot as plt from sklearn.cluster import KMeans from sklearn import preprocessing import pandas a 阅读全文
posted @ 2022-08-10 17:59 故y 阅读(299) 评论(0) 推荐(0)
摘要: 簇数的确定: 要用到k-means里面的轮廓系数 基于python的数学建模 轮廓系数的确定 - 坤丶 - 博客园 (cnblogs.com) 模糊c的代码 import copy import math import random import time global MAX # 用于初始化隶属度 阅读全文
posted @ 2022-08-10 17:55 故y 阅读(464) 评论(0) 推荐(1)