是否可以通过mlr为h2o模型设置种子?我只能直接找到如何在h2o中进行操作,例如
gbm_w_seed_2 <- h2o.gbm(x = predictors, y = response, training_frame = train,
validation_frame = valid, col_sample_rate =.7 ,
seed = 1234)
答案 0 :(得分:3)
是的,这些是作为学习者参数公开的。例如:
lrn = makeLearner("classif.h2ogbm", par.vals = list(seed = 123))