Open Kiris-tingna opened 5 years ago
代码里有shrinkage与subsample这个啊,如下: shrinkage: for node in leaf_nodes: for id in node.get_idset(): f[id][label] += learn_ratenode.get_predict_value() subsample: subset = sample(subset, int(len(subset)self.sample_rate)) 还是说我理解错了?
@zhaochangming 你是对的
我记得GBDT里有shrinkage和subsample的过程啊 代码里只有列采样