This is an automated email from the ASF dual-hosted git repository. baunsgaard pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/systemds.git
commit 4532e84922f788fb2796f61eb00786bdc0c78d15 Author: baunsgaard <[email protected]> AuthorDate: Fri Jun 10 16:19:40 2022 +0200 [MINOR] fix WoE --- src/test/scripts/functions/builtin/WoE_test.dml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/scripts/functions/builtin/WoE_test.dml b/src/test/scripts/functions/builtin/WoE_test.dml index 4c5211f5bb..d4cd687778 100644 --- a/src/test/scripts/functions/builtin/WoE_test.dml +++ b/src/test/scripts/functions/builtin/WoE_test.dml @@ -23,6 +23,6 @@ X = matrix("1 1 1 2 2 3 3 3 4 4 4 3 3 3 3", rows=15, cols =1) Y = matrix("1 3 1 3 1 1 1 2 2 2 1 1 1 3 2", rows=15, cols =1) E = matrix("0 0 0 0 0 1.379 1.379 1.379 0 0 0 1.379 1.379 1.379 1.379", rows=15, cols = 1) -[F, Y, entropyMatrix] = WoE(X, Y, as.matrix(1)) +[F, entropyMatrix] = WoE(X, Y, as.matrix(1)) res = (sum((E - F) < 0.001) == 15) print(res) \ No newline at end of file
