java.lang.IllegalArgumentException: GLM2(GLMModel__871d9f6b6da9df3cce5d213b89ad4d3b) nlambdas must be > 1 when running with lambda search.

JIRA | Nidhi Mehta | 2 years ago
  1. 0

    ntr = h2o.importFile(h,"/Users/nidhimehta/Desktop/german/trn.csv", key="ntr") nts = h2o.importFile(h,"/Users/nidhimehta/Desktop/german/tst.csv", key="nts") ntr nts myX = 1:20 myY = 21 ntr$C21 = as.factor(ntr$C21) nts$C21 = as.factor(nts$C21) gg = h2o.glm(x=myX,y=myY,training_frame=ntr,validation_frame=nts,lambda_search=T,nlambdas=1) | | 0% Got exception 'class java.lang.IllegalArgumentException', with msg 'ERROR on field: nlambdas: Number of lambdas must be > 1 when running with lambda_search! ' java.lang.IllegalArgumentException: ERROR on field: nlambdas: Number of lambdas must be > 1 when running with lambda_search! at hex.Model$Output.<init>(Model.java:217) at hex.SupervisedModel$SupervisedOutput.<init>(SupervisedModel.java:66) at hex.glm.GLMModel$GLMOutput.<init>(GLMModel.java:642) at hex.glm.GLM.init(GLM.java:224) at hex.glm.GLM$GLMDriver.compute2(GLM.java:420) at water.H2O$H2OCountedCompleter.compute(H2O.java:682) 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) Error: 'ERROR on field: nlambdas: Number of lambdas must be > 1 when running with lambda_search! A warning would be okay but exception is bad.

    JIRA | 2 years ago | Nidhi Mehta
    java.lang.IllegalArgumentException: ERROR on field: nlambdas: Number of lambdas must be > 1 when running with lambda_search!
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    ntr = h2o.importFile(h,"/Users/nidhimehta/Desktop/german/trn.csv", key="ntr") nts = h2o.importFile(h,"/Users/nidhimehta/Desktop/german/tst.csv", key="nts") ntr nts myX = 1:20 myY = 21 ntr$C21 = as.factor(ntr$C21) nts$C21 = as.factor(nts$C21) gg = h2o.glm(x=myX,y=myY,training_frame=ntr,validation_frame=nts,lambda_search=T,nlambdas=1) | | 0% Got exception 'class java.lang.IllegalArgumentException', with msg 'ERROR on field: nlambdas: Number of lambdas must be > 1 when running with lambda_search! ' java.lang.IllegalArgumentException: ERROR on field: nlambdas: Number of lambdas must be > 1 when running with lambda_search! at hex.Model$Output.<init>(Model.java:217) at hex.SupervisedModel$SupervisedOutput.<init>(SupervisedModel.java:66) at hex.glm.GLMModel$GLMOutput.<init>(GLMModel.java:642) at hex.glm.GLM.init(GLM.java:224) at hex.glm.GLM$GLMDriver.compute2(GLM.java:420) at water.H2O$H2OCountedCompleter.compute(H2O.java:682) 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) Error: 'ERROR on field: nlambdas: Number of lambdas must be > 1 when running with lambda_search! A warning would be okay but exception is bad.

    JIRA | 2 years ago | Nidhi Mehta
    java.lang.IllegalArgumentException: ERROR on field: nlambdas: Number of lambdas must be > 1 when running with lambda_search!
  4. 0
    samebug tip
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      GLM2(GLMModel__871d9f6b6da9df3cce5d213b89ad4d3b) nlambdas must be > 1 when running with lambda search.

      at hex.glm.GLM$GLMDriver.compute2()
    2. hex.glm
      GLM$GLMDriver.compute2
      1. hex.glm.GLM$GLMDriver.compute2(GLM.java:612)
      1 frame
    3. water
      H2O$H2OCountedCompleter.compute
      1. water.H2O$H2OCountedCompleter.compute(H2O.java:583)
      1 frame
    4. 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