例外细节:
GBTClassifier gbt = new GBTClassifier().setLabelCol("indexedclick").setFeaturesCol("features_index").setMaxIter(20).**setMaxBins(16094)**.setMaxDepth(30).setMinInfoGain(0.0001).setStepSize(0.00001).setSeed(200).setLossType("logistic").setSubsamplingRate(0.2);
我想知道什么应该是正确的最大bin大小,因为即使我设置了大的MaxBin值,也会导致同样的异常。
你的小小帮助将是非常感谢的。
发布于 2016-09-12 16:22:48
您能否将最大的回收箱设置为比最大分类功能中的条目数多一个,在本例中将其设置为16095。即setMaxBins(16095)
https://stackoverflow.com/questions/39073602
复制相似问题