Skip to content

Commit

Permalink
Fixed tMat not SPD.
Browse files Browse the repository at this point in the history
  • Loading branch information
wendycwong committed Oct 26, 2024
1 parent 6f8246c commit 7a3a14f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions h2o-algos/src/test/java/hex/hglm/HGLMBasicTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7a3a14f

Please sign in to comment.