Closed HarborZeng closed 4 years ago
spark version 2.4.5 mode local[*] Deepin 15.11 GPU Nvidia 2070super ai.rapids:xgboost4j-spark_2.x:1.0.0-Beta5
spark version 2.4.5 mode local[*] Deepin 15.11 GPU Nvidia 2070super ai.rapids:xgboost4j-spark_2.x:1.0.0-Beta5
Could you get the correct output of eval when running classifier only, without CrossValidator ?
And could you share the code how the dataReader
is created ?
@HarborZeng , XGBoost-spark with GPU-accelerated didn't support setTrainTestRatio(0.8) for now, So the train-merror should be same
spark version 2.4.5 mode local[*] Deepin 15.11 GPU Nvidia 2070super ai.rapids:xgboost4j-spark_2.x:1.0.0-Beta5
Could you get the correct output of eval when running classifier only, without CrossValidator ? And could you share the code how the
dataReader
is created ?
yes, eval worked fine without CrossValidator. Sorry it was a long time ago project, and I can't remember the details now.
I believe I created dataReader as one of the example code in this repo, maybe taix?
I mean you need to create the dataReader of GPU version, such as val dataReader = new GpuDataReader(spark)
I mean you need to create the dataReader of GPU version, such as
val dataReader = new GpuDataReader(spark)
yes of course, dataReader of GPU version I am sure of
@wbo4958 @firestarman hey guys, finally figured out: crossvalidate does not support setting EvalSets naturally, k folds would do it likewise.
neither
nor
works.
logs are always like:
with no eval or test merror printed.
My code snippet is like:
What should I do to make it work or does this GPU version xgboost-spark even support eval on train on Corssvalidator?