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

后端 未结 1 931
别跟我提以往
别跟我提以往 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)
提交回复
热议问题