File tree Expand file tree Collapse file tree
h2o-algos/src/test/java/hex/glm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2410,13 +2410,8 @@ public void testRoMojoPojoGuard() {
24102410 glm = new GLM (params ).trainModel ().get ();
24112411 Scope .track_generic (glm );
24122412
2413- // With remove_offset_effects=true, the exported MOJO/POJO would score WITH offset
2414- // but the H2O model scores WITHOUT offset. haveMojo()/havePojo() should return false.
2415- // Currently haveMojo() only checks control_variables but NOT remove_offset_effects.
2416- assertFalse ("haveMojo() should return false when remove_offset_effects=true " +
2417- "(MOJO scoring doesn't implement offset removal)" , glm .haveMojo ());
2418- assertFalse ("havePojo() should return false when remove_offset_effects=true " +
2419- "(POJO scoring doesn't implement offset removal)" , glm .havePojo ());
2413+ assertTrue ("haveMojo() should return true when remove_offset_effects=true " , glm .haveMojo ());
2414+ assertTrue ("havePojo() should return true when remove_offset_effects=true " , glm .havePojo ());
24202415 } finally {
24212416 if (train != null ) train .remove ();
24222417 if (glm != null ) glm .remove ();
You can’t perform that action at this time.
0 commit comments