simPop icon indicating copy to clipboard operation
simPop copied to clipboard

Error in test_xgboost

Open alexkowa opened this issue 3 years ago • 3 comments

Error in finalizer(env) : Inconsistent 'best_score' values between the closure state: 7590.875488 and the xgb.attr: 7590.875488

alexkowa avatar Jan 24 '22 17:01 alexkowa

Hi @alexkowa Thank you very much for removing the dplyr dependency and the change to tinytest. Is it just me, or is the build now faster 🚀

Regarding this error, I just looked at it, and I currently have trouble running the tests on my Windows machine. I got an error on the calibSample. If I remove the calibSample step, it runs smoothly.

Therefore a few follow up questions:

  1. What's your operating system?
  2. Which test fails? Is it the test_xgboost.R or the test_crossValidation.R?
  3. Does it run if you remove the calibSample and divide the weight rb050 by a factor (e.g., 100)?
  4. What's your XGBoost version?

Thanks and have a nice evening, Siro

sironimo avatar Jan 24 '22 22:01 sironimo

Looks like the issue is already fixed in XGBoost v1.3.0

sironimo avatar Jan 24 '22 22:01 sironimo

  1. macOS 12.1
  2. for me only test_xgboost.R fails (test_crossValidatiion.R runs without error or warning)
  3. no, this only changes the numerical values in the error message
  4. 1.5.0.2

yes, it looks exactly like the cited issue.

alexkowa avatar Jan 25 '22 06:01 alexkowa