Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以通过 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)
是的,这些作为学习器参数公开。例如:
lrn = makeLearner("classif.h2ogbm", par.vals = list(seed = 123))