java.lang.AssertionError: prob is not inside [0,1]: 1.1073852

JIRA | Kevin Normoyle | 2 years ago
  1. 0

    single jvm (every GLM I do gets this, with slightly different out of range probabilities) cd h2o-dev/py2/testdir_single_jvm python test_GLM_basic_1.py add --usecloud to connect to existing h2o.jar or -uc oe --usecloud <ip>:<port> This WARN appeared also 11-22 01:34:21.105 192.168.0.34:54321 22684 # Session WARN: Reducing Hitratio Top-K value to maximum value allowed: 2 java.lang.AssertionError: prob is not inside [0,1]: 1.1073852 at water.util.ModelUtils.getPredictions(ModelUtils.java:56) at hex.HitRatio$HitRatioTask.map(HitRatio.java:150) at water.MRTask.compute2(MRTask.java:411) at water.H2O$H2OCountedCompleter.compute(H2O.java:566) 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) creates a model fine len(coeffs) 12 coeffs: [-0.23896717054172845, -0.0005811234944406163, -0.0076762397183611775, 0.015055451214319282, -0.11897338525733825, 0.007810350425421442, 0.02440040104631125, 0.02890292477578038, 0.029059835842734305, -0.001431242571900082, 0.001553469858002865, -0.02121539658508742] OBS: -2.38967e-01 AGMT: -5.81123e-04 HIGD: -7.67624e-03 DEG: 1.50555e-02 CHK: -1.18973e-01 AGP1: 7.81035e-03 AGMN: 2.44004e-02 NLV: 2.89029e-02 LIV: 2.90598e-02 WT: -1.43124e-03 AGLP: 1.55347e-03 MST: -2.12154e-02 H2O intercept: 6.85561e-01 Total # of coeffs: 12 response is FNDX, i ignore STR commands.log is (GLM parameters are in post but shown in comments) #********************************************************************* 2014-11-22 01:34:18.850583 -- java -ea -jar /home/kevin/h2o-dev/build/h2o.jar -port 54321 -ice_root sandbox/ice.6271BV -name pytest-kevin-22678 #PID 22684, stdout local-h2o-0.stdout.7qvdaC.log, stderr local-h2o-0.stderr.V5gZgb.log #*********************** python_test_name: test_GLM_basic_1.py #*********************** 2014-11-22 01:34:19.530550 -- Start http://192.168.0.34:54321/2/ImportFiles.json?path=/home/kevin/h2o-dev/smalldata/logreg 2014-11-22 01:34:19.605408 -- Start http://192.168.0.34:54321/ParseSetup.json?srcs=[nfs://home/kevin/h2o-dev/smalldata/logreg/benign.csv] 2014-11-22 01:34:19.654748 -- Start http://192.168.0.34:54321/Parse.json?srcs=[nfs://home/kevin/h2o-dev/smalldata/logreg/benign.csv]&checkHeader=1&ncols=14&sep=44&columnNames=[STR,OBS,AGMT,FNDX,HIGD,DEG,CHK,AGP1,AGMN,NLV,LIV,WT,AGLP,MST]&singleQuotes=False&hex=benign.hex&pType=CSV 2014-11-22 01:34:19.702968 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_b0e9fdf97c7dadf6699365344e414e80? 2014-11-22 01:34:20.222446 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_b0e9fdf97c7dadf6699365344e414e80? 2014-11-22 01:34:20.226891 -- Start http://192.168.0.34:54321/3/Frames.json/benign.hex?find_compatible_models=0&len=5&offset=0 2014-11-22 01:34:20.280234 -- Start http://192.168.0.34:54321/3/Frames.json/benign.hex?find_compatible_models=0&len=5&offset=0 2014-11-22 01:34:20.290740 -- Start http://192.168.0.34:54321/2/ModelBuilders.json? 2014-11-22 01:34:20.413493 -- Start http://192.168.0.34:54321/3/Frames.json/benign.hex?find_compatible_models=0&len=5&offset=0 2014-11-22 01:34:20.423403 -- Start http://192.168.0.34:54321/2/ModelBuilders.json/glm #{'family': 'binomial', 'tweedie_link_power': None, 'n_folds': 1, 'use_all_factor_levels': False, 'training_frame': u'benign.hex', 'higher_accuracy': True, 'balance_classes': False, 'validation_frame': u'benign.hex', 'lambda_search': None, 'response_column': 'FNDX', 'destination_key': 'benign_glm.hex', 'standardize': False, 'ignored_columns': '[STR]', 'score_each_iteration': True, 'link': None, 'alpha': '[1e-4]', 'max_after_balance_size': None, 'do_classification': True, 'nlambdas': None, 'prior1': None, 'tweedie_variance_power': None, 'lambda_min_ratio': None, 'lambda': '[0.5]'}; 2014-11-22 01:34:20.500690 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_9c38514bddb412c2a3b9d4c69fde4e3d? 2014-11-22 01:34:21.006031 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_9c38514bddb412c2a3b9d4c69fde4e3d? 2014-11-22 01:34:21.011729 -- Start http://192.168.0.34:54321/3/Models.json/benign_glm.hex?find_compatible_frames=False 2014-11-22 01:34:21.050639 -- Start http://192.168.0.34:54321/3/Models.json/benign_glm.hex?find_compatible_frames=False 2014-11-22 01:34:21.064497 -- Start http://192.168.0.34:54321/3/Frames.json/benign.hex?find_compatible_models=0&len=5&offset=0 2014-11-22 01:34:21.074199 -- Start http://192.168.0.34:54321/3/ModelMetrics.json/models/benign_glm.hex/frames/benign.hex #None; ~

    JIRA | 2 years ago | Kevin Normoyle
    java.lang.AssertionError: prob is not inside [0,1]: 1.1073852
  2. 0

    single jvm (every GLM I do gets this, with slightly different out of range probabilities) cd h2o-dev/py2/testdir_single_jvm python test_GLM_basic_1.py add --usecloud to connect to existing h2o.jar or -uc oe --usecloud <ip>:<port> This WARN appeared also 11-22 01:34:21.105 192.168.0.34:54321 22684 # Session WARN: Reducing Hitratio Top-K value to maximum value allowed: 2 java.lang.AssertionError: prob is not inside [0,1]: 1.1073852 at water.util.ModelUtils.getPredictions(ModelUtils.java:56) at hex.HitRatio$HitRatioTask.map(HitRatio.java:150) at water.MRTask.compute2(MRTask.java:411) at water.H2O$H2OCountedCompleter.compute(H2O.java:566) 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) creates a model fine len(coeffs) 12 coeffs: [-0.23896717054172845, -0.0005811234944406163, -0.0076762397183611775, 0.015055451214319282, -0.11897338525733825, 0.007810350425421442, 0.02440040104631125, 0.02890292477578038, 0.029059835842734305, -0.001431242571900082, 0.001553469858002865, -0.02121539658508742] OBS: -2.38967e-01 AGMT: -5.81123e-04 HIGD: -7.67624e-03 DEG: 1.50555e-02 CHK: -1.18973e-01 AGP1: 7.81035e-03 AGMN: 2.44004e-02 NLV: 2.89029e-02 LIV: 2.90598e-02 WT: -1.43124e-03 AGLP: 1.55347e-03 MST: -2.12154e-02 H2O intercept: 6.85561e-01 Total # of coeffs: 12 response is FNDX, i ignore STR commands.log is (GLM parameters are in post but shown in comments) #********************************************************************* 2014-11-22 01:34:18.850583 -- java -ea -jar /home/kevin/h2o-dev/build/h2o.jar -port 54321 -ice_root sandbox/ice.6271BV -name pytest-kevin-22678 #PID 22684, stdout local-h2o-0.stdout.7qvdaC.log, stderr local-h2o-0.stderr.V5gZgb.log #*********************** python_test_name: test_GLM_basic_1.py #*********************** 2014-11-22 01:34:19.530550 -- Start http://192.168.0.34:54321/2/ImportFiles.json?path=/home/kevin/h2o-dev/smalldata/logreg 2014-11-22 01:34:19.605408 -- Start http://192.168.0.34:54321/ParseSetup.json?srcs=[nfs://home/kevin/h2o-dev/smalldata/logreg/benign.csv] 2014-11-22 01:34:19.654748 -- Start http://192.168.0.34:54321/Parse.json?srcs=[nfs://home/kevin/h2o-dev/smalldata/logreg/benign.csv]&checkHeader=1&ncols=14&sep=44&columnNames=[STR,OBS,AGMT,FNDX,HIGD,DEG,CHK,AGP1,AGMN,NLV,LIV,WT,AGLP,MST]&singleQuotes=False&hex=benign.hex&pType=CSV 2014-11-22 01:34:19.702968 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_b0e9fdf97c7dadf6699365344e414e80? 2014-11-22 01:34:20.222446 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_b0e9fdf97c7dadf6699365344e414e80? 2014-11-22 01:34:20.226891 -- Start http://192.168.0.34:54321/3/Frames.json/benign.hex?find_compatible_models=0&len=5&offset=0 2014-11-22 01:34:20.280234 -- Start http://192.168.0.34:54321/3/Frames.json/benign.hex?find_compatible_models=0&len=5&offset=0 2014-11-22 01:34:20.290740 -- Start http://192.168.0.34:54321/2/ModelBuilders.json? 2014-11-22 01:34:20.413493 -- Start http://192.168.0.34:54321/3/Frames.json/benign.hex?find_compatible_models=0&len=5&offset=0 2014-11-22 01:34:20.423403 -- Start http://192.168.0.34:54321/2/ModelBuilders.json/glm #{'family': 'binomial', 'tweedie_link_power': None, 'n_folds': 1, 'use_all_factor_levels': False, 'training_frame': u'benign.hex', 'higher_accuracy': True, 'balance_classes': False, 'validation_frame': u'benign.hex', 'lambda_search': None, 'response_column': 'FNDX', 'destination_key': 'benign_glm.hex', 'standardize': False, 'ignored_columns': '[STR]', 'score_each_iteration': True, 'link': None, 'alpha': '[1e-4]', 'max_after_balance_size': None, 'do_classification': True, 'nlambdas': None, 'prior1': None, 'tweedie_variance_power': None, 'lambda_min_ratio': None, 'lambda': '[0.5]'}; 2014-11-22 01:34:20.500690 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_9c38514bddb412c2a3b9d4c69fde4e3d? 2014-11-22 01:34:21.006031 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_9c38514bddb412c2a3b9d4c69fde4e3d? 2014-11-22 01:34:21.011729 -- Start http://192.168.0.34:54321/3/Models.json/benign_glm.hex?find_compatible_frames=False 2014-11-22 01:34:21.050639 -- Start http://192.168.0.34:54321/3/Models.json/benign_glm.hex?find_compatible_frames=False 2014-11-22 01:34:21.064497 -- Start http://192.168.0.34:54321/3/Frames.json/benign.hex?find_compatible_models=0&len=5&offset=0 2014-11-22 01:34:21.074199 -- Start http://192.168.0.34:54321/3/ModelMetrics.json/models/benign_glm.hex/frames/benign.hex #None; ~

    JIRA | 2 years ago | Kevin Normoyle
    java.lang.AssertionError: prob is not inside [0,1]: 1.1073852
  3. 0

    Exception if type single ", # or % in blank haml file

    YouTrack | 5 years ago
    java.util.concurrent.ExecutionException: java.lang.AssertionError: (0,1), text: "
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception if type single ", # or % in blank haml file

    YouTrack | 5 years ago
    java.lang.AssertionError: (0,1), text: "
  6. 0

    Exception in IntelliJ 13

    GitHub | 3 years ago | elulamp
    java.lang.AssertionError: Do not call commitDocument() from inside PSI change listener

    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.AssertionError

      prob is not inside [0,1]: 1.1073852

      at water.util.ModelUtils.getPredictions()
    2. water.util
      ModelUtils.getPredictions
      1. water.util.ModelUtils.getPredictions(ModelUtils.java:56)
      1 frame
    3. hex
      HitRatio$HitRatioTask.map
      1. hex.HitRatio$HitRatioTask.map(HitRatio.java:150)
      1 frame
    4. water
      H2O$H2OCountedCompleter.compute
      1. water.MRTask.compute2(MRTask.java:411)
      2. water.H2O$H2OCountedCompleter.compute(H2O.java:566)
      2 frames
    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