ValueError:精简的metrix必须仅包含有限值

时间:2020-03-16 23:04:46

标签: linkage

我的数据集:new_df

  1. Scaler = StandardScaler()

  2. Segmentation_std = scaler.fit_transform(new_df)

  3. Hier_cluster =链接(Segmentation_std,method ='ward')

运行上面的代码时出现此错误

值错误:精简距离metricx必须仅包含有限值

0 个答案:

没有答案