From 7a3a14f7268480d5b4f5dda752aff84172a35de7 Mon Sep 17 00:00:00 2001 From: wendycwong Date: Sat, 26 Oct 2024 13:33:23 -0700 Subject: [PATCH] Fixed tMat not SPD. --- .../src/test/java/hex/hglm/HGLMBasicTest.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/h2o-algos/src/test/java/hex/hglm/HGLMBasicTest.java b/h2o-algos/src/test/java/hex/hglm/HGLMBasicTest.java index 68dc67a929b1..fc5726f94877 100644 --- a/h2o-algos/src/test/java/hex/hglm/HGLMBasicTest.java +++ b/h2o-algos/src/test/java/hex/hglm/HGLMBasicTest.java @@ -583,14 +583,14 @@ public void testSetInitBetasTvar() { Frame tMat = new TestFrameBuilder() .withColNames("C1","C2","C3","C4","C5","C6","C7","C8") .withVecTypes(T_NUM, T_NUM, T_NUM, T_NUM, T_NUM, T_NUM, T_NUM, T_NUM) - .withDataForCol(0, new double[]{10.0173, 0.3969, 0.7209, 0.5384, 0.3691, 0.3221, 0.3118, 0.5670}) - .withDataForCol(1, new double[]{0.3969, 10.2488, 0.6870, 0.8130, 0.2864, 0.4908, 0.5384, 0.6166}) - .withDataForCol(2, new double[]{0.7209, 0.6870, 10.4728, 0.3921, 0.5716, 0.7086, 0.1817, 0.3230}) - .withDataForCol(3, new double[]{0.5384, 0.8130, 0.3921, 10.4303, 0.3022, 0.9212, 0.7127, 0.5969}) - .withDataForCol(4, new double[]{0.3691, 0.2864, 0.5716, 0.3022, 10.2905, 0.0963, 0.6902, 0.4802}) - .withDataForCol(5, new double[]{0.3221, 0.4908, 0.7086, 0.9212, 0.0963, 10.7323, 0.7772, 0.8325}) - .withDataForCol(6, new double[]{0.3118, 0.5384, 0.1817, 0.7127, 0.6902, 0.7772, 10.1840, 0.6967}) - .withDataForCol(7, new double[]{0.5670, 0.6166, 0.3230, 0.5969, 0.4802, 0.8325, 0.6967, 10.3962}) + .withDataForCol(0, new double[]{1.0173, 0.0009, 0.0009, 0.0004, 0.0001, 0.0001, 0.0008, 0.0000}) + .withDataForCol(1, new double[]{0.0009, 1.2488, 0.0070, 0.0000, 0.0004, 0.0008, 0.0004, 0.0006}) + .withDataForCol(2, new double[]{0.0009, 0.0070, 1.4728, 0.0001, 0.0006, 0.0006, 0.0007, 0.0000}) + .withDataForCol(3, new double[]{0.0004, 0.0000, 0.0001, 1.4303, 0.0002, 0.0002, 0.0007, 0.0009}) + .withDataForCol(4, new double[]{0.0001, 0.0004, 0.0006, 0.0002, 1.2905, 0.0003, 0.0002, 0.0002}) + .withDataForCol(5, new double[]{0.0001, 0.0008, 0.0006, 0.0002, 0.0003, 1.7323, 0.0002, 0.0005}) + .withDataForCol(6, new double[]{0.0008, 0.0004, 0.0007, 0.0007, 0.0002, 0.0002, 1.1840, 0.0007}) + .withDataForCol(7, new double[]{0.0000, 0.0006, 0.0000, 0.0009, 0.0002, 0.0005, 0.0007, 1.3962}) .build(); Scope.track(tMat); Scope.track(prostate);