Repository: incubator-systemml Updated Branches: refs/heads/master 1bc0f96e1 -> 08a3f1c7e
[SYSTEMML-608] fmt added to the function used in StepLinearRegDS Closes #121. Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/08a3f1c7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/08a3f1c7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/08a3f1c7 Branch: refs/heads/master Commit: 08a3f1c7e48cee1b1fdd126debdb9f01ed75f5bb Parents: 1bc0f96 Author: fmakari <[email protected]> Authored: Wed Apr 20 13:55:05 2016 -0700 Committer: Deron Eriksson <[email protected]> Committed: Wed Apr 20 13:55:05 2016 -0700 ---------------------------------------------------------------------- scripts/algorithms/StepLinearRegDS.dml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/08a3f1c7/scripts/algorithms/StepLinearRegDS.dml ---------------------------------------------------------------------- diff --git a/scripts/algorithms/StepLinearRegDS.dml b/scripts/algorithms/StepLinearRegDS.dml index 953402f..79a2803 100644 --- a/scripts/algorithms/StepLinearRegDS.dml +++ b/scripts/algorithms/StepLinearRegDS.dml @@ -202,7 +202,8 @@ if (dir == "forward") { */ linear_regression = function (Matrix[Double] X, Matrix[Double] y, Double m_orig, Matrix[Double] Selected, String fileB) return (Double AIC) { - intercept_status = ifdef ($icpt, 0); + intercept_status = ifdef ($icpt, 0); + fmt = ifdef ($fmt, "text"); n = nrow (X); m = ncol (X);
