What do you need to watch out for when using cross-validation with GLM lambda search?

后端 未结 1 930
别跟我提以往
别跟我提以往 2021-01-27 18:03

Regarding h2o.glm lambda search not appearing to iterate over all lambdas, I read the question as complaining that lambda was too high; they tried setting early_stopping=

相关标签:
1条回答
  • 2021-01-27 18:23

    H2O's glm with lambda search and cross-validation should always pick the best lambda based on cross-validation and use that in the returned (main) model. The early stopping option should have no effect on selected lambda. Its purpose is to skip computation of models for lambdas > best since they are not needed for the main model (we still compute models for lambdas < best since that allows to use warm starting and take full advantage of strong rules).

    I think the behavior with early_stopping set to false should compute models for all lambdas in case user wants to see them / do custom model selection.

    0 讨论(0)
提交回复
热议问题