kaz-Anova / StackNet

StackNet is a computational, scalable and analytical Meta modelling framework
MIT License
1.32k stars 344 forks source link

Issue when calling XGBOOSTRegressor #50

Closed woaipaopao closed 6 years ago

woaipaopao commented 6 years ago

Hi @kaz-Anova,

Encounter the following issue when calling XGBRegressor during prediction stage for Zillow Competition and default parameters were used according to the tutorial, appreciate it if you could look into the issue and help out on this.

C:\Users\meipaopao\StackNet\models\n6ut4jf5f4n3e5hjdl51n1p0ji0.pred (The system cannot find the file specified) Exception in thread "Thread-46536" java.lang.NegativeArraySizeException at io.input.Retrievecolumn(input.java:1455) at ml.xgboost.XgboostRegressor.predict2d(XgboostRegressor.java:638) at ml.Bagging.scoringhelperbagv2.score(scoringhelperbagv2.java:158) at ml.Bagging.scoringhelperbagv2.run(scoringhelperbagv2.java:185) at java.lang.Thread.run(Unknown Source) C:\Users\meipaopao\StackNet\models\doh9b4mmpej0cem7eik7q170h20.pred (The system cannot find the file specified) Exception in thread "Thread-46537" java.lang.NegativeArraySizeException at io.input.Retrievecolumn(input.java:1455) at ml.xgboost.XgboostRegressor.predict2d(XgboostRegressor.java:638) at ml.Bagging.scoringhelperbagv2.score(scoringhelperbagv2.java:158) at ml.Bagging.scoringhelperbagv2.run(scoringhelperbagv2.java:185) at java.lang.Thread.run(Unknown Source)

Thank you very much! Andy

kaz-Anova commented 6 years ago
  1. Can you try putting verbose:true for the xgboostregression to see if there is any other error?

  2. Have a look here, maybe that fix for lightgbm, solves your broblems too if you apply it in XGBoost .