Skip to content
Permalink
Browse files
JIRA-1160
closes #49
  • Loading branch information
Maja Kabiljo committed Sep 21, 2017
1 parent b8f966a commit 22e8511f2f68b536a0b1c31b2ec271fab255d5bb
Showing 1 changed file with 2 additions and 3 deletions.
@@ -789,10 +789,9 @@ private static boolean calculateRegression(double[] coefficient,
List<Integer> validColumnIndices, OLSMultipleLinearRegression mlr) {

if (coefficient.length != validColumnIndices.size()) {
LOG.warn("There are " + coefficient.length +
" coefficients, but " + validColumnIndices.size() +
LOG.info("There are " + coefficient.length +
" coefficients, and " + validColumnIndices.size() +
" valid columns in the regression");
return false;
}

double[] beta = mlr.estimateRegressionParameters();

0 comments on commit 22e8511

Please sign in to comment.