hex.gram.Gram$NonSPDMatrixException

JIRA | Sebastian Vidrio | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Params: data: cars.hex <- h2o.uploadFile(conn, locate("smalldata/junit/cars.csv")) cars.hex[,3] <- as.factor(cars.hex[,3]) c.sid <- h2o.runif(cars.hex) cars.train <- h2o.assign(cars.hex[c.sid > .2, ], "cars.train") cars.test <- h2o.assign(cars.hex[c.sid <= .2, ], "cars.test") [2015-05-14 17:33:08] [INFO]: x: 3, 4, 5, 6, 7 [2015-05-14 17:33:08] [INFO]: y: 2 [2015-05-14 17:33:08] [INFO]: Using training_frame: cars.train [2015-05-14 17:33:08] [INFO]: validation_frame: cars.test [2015-05-14 17:33:08] [INFO]: family: gamma [2015-05-14 17:33:08] [INFO]: max iterations: 23 [2015-05-14 17:33:08] [INFO]: beta epsilon: DEFAULT [2015-05-14 17:33:08] [INFO]: solver: DEFAULT [2015-05-14 17:33:08] [INFO]: standardize: DEFAULT [2015-05-14 17:33:08] [INFO]: link: log [2015-05-14 17:33:08] [INFO]: alpha: DEFAULT [2015-05-14 17:33:08] [INFO]: prior: 0.584834245033562 [2015-05-14 17:33:08] [INFO]: lambda search: TRUE [2015-05-14 17:33:08] [INFO]: nlambdas: DEFAULT [2015-05-14 17:33:08] [INFO]: beta constraints: DEFAULT stacktrace: Got exception 'class hex.gram.Gram$NonSPDMatrixException', with msg 'null' hex.gram.Gram$NonSPDMatrixException at hex.glm.GLM$GramSolver.computeCholesky(GLM.java:1363) at hex.glm.GLM$GramSolver.<init>(GLM.java:1336) at hex.glm.GLM$GLMSingleLambdaTsk$Iteration.callback(GLM.java:1115) at hex.glm.GLM$GLMSingleLambdaTsk$Iteration.callback(GLM.java:1061) at water.H2O$H2OCallback.onCompletion(H2O.java:724) at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386) at water.RPC$2.compute2(RPC.java:593) at water.H2O$H2OCountedCompleter.compute(H2O.java:666) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 2 years ago | Sebastian Vidrio
    hex.gram.Gram$NonSPDMatrixException
  2. 0

    Params: data: cars.hex <- h2o.uploadFile(conn, locate("smalldata/junit/cars.csv")) cars.hex[,3] <- as.factor(cars.hex[,3]) c.sid <- h2o.runif(cars.hex) cars.train <- h2o.assign(cars.hex[c.sid > .2, ], "cars.train") cars.test <- h2o.assign(cars.hex[c.sid <= .2, ], "cars.test") [2015-05-14 17:33:08] [INFO]: x: 3, 4, 5, 6, 7 [2015-05-14 17:33:08] [INFO]: y: 2 [2015-05-14 17:33:08] [INFO]: Using training_frame: cars.train [2015-05-14 17:33:08] [INFO]: validation_frame: cars.test [2015-05-14 17:33:08] [INFO]: family: gamma [2015-05-14 17:33:08] [INFO]: max iterations: 23 [2015-05-14 17:33:08] [INFO]: beta epsilon: DEFAULT [2015-05-14 17:33:08] [INFO]: solver: DEFAULT [2015-05-14 17:33:08] [INFO]: standardize: DEFAULT [2015-05-14 17:33:08] [INFO]: link: log [2015-05-14 17:33:08] [INFO]: alpha: DEFAULT [2015-05-14 17:33:08] [INFO]: prior: 0.584834245033562 [2015-05-14 17:33:08] [INFO]: lambda search: TRUE [2015-05-14 17:33:08] [INFO]: nlambdas: DEFAULT [2015-05-14 17:33:08] [INFO]: beta constraints: DEFAULT stacktrace: Got exception 'class hex.gram.Gram$NonSPDMatrixException', with msg 'null' hex.gram.Gram$NonSPDMatrixException at hex.glm.GLM$GramSolver.computeCholesky(GLM.java:1363) at hex.glm.GLM$GramSolver.<init>(GLM.java:1336) at hex.glm.GLM$GLMSingleLambdaTsk$Iteration.callback(GLM.java:1115) at hex.glm.GLM$GLMSingleLambdaTsk$Iteration.callback(GLM.java:1061) at water.H2O$H2OCallback.onCompletion(H2O.java:724) at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386) at water.RPC$2.compute2(RPC.java:593) at water.H2O$H2OCountedCompleter.compute(H2O.java:666) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 2 years ago | Sebastian Vidrio
    hex.gram.Gram$NonSPDMatrixException

    Root Cause Analysis

    1. hex.gram.Gram$NonSPDMatrixException

      No message provided

      at hex.glm.GLM$GramSolver.computeCholesky()
    2. hex.glm
      GLM$GLMSingleLambdaTsk$Iteration.callback
      1. hex.glm.GLM$GramSolver.computeCholesky(GLM.java:1363)
      2. hex.glm.GLM$GramSolver.<init>(GLM.java:1336)
      3. hex.glm.GLM$GLMSingleLambdaTsk$Iteration.callback(GLM.java:1115)
      4. hex.glm.GLM$GLMSingleLambdaTsk$Iteration.callback(GLM.java:1061)
      4 frames
    3. water
      H2O$H2OCallback.onCompletion
      1. water.H2O$H2OCallback.onCompletion(H2O.java:724)
      1 frame
    4. jsr166y
      CountedCompleter.tryComplete
      1. jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386)
      1 frame
    5. water
      H2O$H2OCountedCompleter.compute
      1. water.RPC$2.compute2(RPC.java:593)
      2. water.H2O$H2OCountedCompleter.compute(H2O.java:666)
      2 frames
    6. jsr166y
      ForkJoinWorkerThread.run
      1. jsr166y.CountedCompleter.exec(CountedCompleter.java:429)
      2. jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
      3. jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
      4. jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
      5. jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
      5 frames