java.lang.IllegalArgumentException: ERROR on field: nlambdas: Number of lambdas 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. 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!
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 4768#20783712

    GitHub | 3 years ago | wildfly-ci
    java.lang.IllegalArgumentException: Deployment with name deployment-1 could not be undeployed. Container container-1 must be still running.

    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

      ERROR on field: nlambdas: Number of lambdas must be > 1 when running with lambda_search!

      at hex.Model$Output.<init>()
    2. hex
      SupervisedModel$SupervisedOutput.<init>
      1. hex.Model$Output.<init>(Model.java:217)
      2. hex.SupervisedModel$SupervisedOutput.<init>(SupervisedModel.java:66)
      2 frames
    3. hex.glm
      GLM$GLMDriver.compute2
      1. hex.glm.GLMModel$GLMOutput.<init>(GLMModel.java:642)
      2. hex.glm.GLM.init(GLM.java:224)
      3. hex.glm.GLM$GLMDriver.compute2(GLM.java:420)
      3 frames
    4. water
      H2O$H2OCountedCompleter.compute
      1. water.H2O$H2OCountedCompleter.compute(H2O.java:682)
      1 frame
    5. 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