Is there a way to get the variance of the samples in each leaf using the decision tree classifier?

前端 未结 0 693
旧巷少年郎
旧巷少年郎 2020-11-29 06:43

Here\'s the code I\'m using:

kmeans = KMeans(n_clusters = 15)
kmeans.fit(s)

cluster_numbers = kmeans.labels_

dt4 = DecisionTreeClassifier(random_state=0, ma         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题