You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[GAMParameters._seed|https://github.com/h2oai/h2o-3/blob/f9df3a6b57c0dda9b5b459ded62f41f4f3b4ac82/h2o-algos/src/main/java/hex/gam/GAMModel.java#L241] hides the {{Model.Parameters._seed}} which makes the {{GAMParameters._seed}} a useless constant with value {{-1}}. [Model.Parameters.getOrMakeRealSeed|https://github.com/h2oai/h2o-3/blob/770952a811540e23e316387ae2aed797d1c7068e/h2o-core/src/main/java/hex/Model.java#L380-L387] uses only the {{Model.Parameters._seed}} so if that’s set to {{-1}} it will be changed to a random value but the {{GAMParameters._seed}} will remain {{-1}}.
[This|https://github.com/h2oai/h2o-3/blob/1918e59a83d56d811472f299354e1de90994a4e6/h2o-algos/src/main/java/hex/gam/GAM.java#L496] seems to be the only use of the {{GAMParameters._seed}}.
The text was updated successfully, but these errors were encountered:
Tomas Fryda commented: In GAM, seed wasn't set by user but it was set to -1 (unintentional variable hiding) but fortunately this involved just one one invocation (generateOrthogonalComplement), the other uses of seed were from model builder which used the user-specified seed.
[GAMParameters._seed|https://github.com/h2oai/h2o-3/blob/f9df3a6b57c0dda9b5b459ded62f41f4f3b4ac82/h2o-algos/src/main/java/hex/gam/GAMModel.java#L241] hides the {{Model.Parameters._seed}} which makes the {{GAMParameters._seed}} a useless constant with value {{-1}}. [Model.Parameters.getOrMakeRealSeed|https://github.com/h2oai/h2o-3/blob/770952a811540e23e316387ae2aed797d1c7068e/h2o-core/src/main/java/hex/Model.java#L380-L387] uses only the {{Model.Parameters._seed}} so if that’s set to {{-1}} it will be changed to a random value but the {{GAMParameters._seed}} will remain {{-1}}.
[This|https://github.com/h2oai/h2o-3/blob/1918e59a83d56d811472f299354e1de90994a4e6/h2o-algos/src/main/java/hex/gam/GAM.java#L496] seems to be the only use of the {{GAMParameters._seed}}.
The text was updated successfully, but these errors were encountered: