Skip to content

Commit afb6725

Browse files
committed
Remove unused parameter
1 parent 34f4093 commit afb6725

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

h2o-algos/src/main/java/hex/glm/GLMModel.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1727,7 +1727,6 @@ public double[] variableInflationFactors() {
17271727
public boolean _binomial;
17281728
public boolean _multinomial;
17291729
public boolean _ordinal;
1730-
public boolean _score_control_vals_used_but_disabled;
17311730

17321731
public void setLambdas(GLMParameters parms) {
17331732
if (parms._lambda_search) {

h2o-algos/src/main/java/hex/glm/GLMScore.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,7 @@ public GLMScore(Job j, GLMModel m, DataInfo dinfo, String[] domain, boolean comp
9494
}
9595
_beta_multinomial = null;
9696
}
97-
9897
_dinfo._valid = true; // marking dinfo as validation data set disables an assert on unseen levels (which should not happen in train)
99-
100-
// seems like it is not used anywhere
101-
// m._output._score_control_vals_used_but_disabled = m._parms._control_variables != null && !m._useControlVariables;
10298
_defaultThreshold = m.defaultThreshold();
10399
}
104100

0 commit comments

Comments
 (0)