You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi Komiya,
This is a very interesting project you've built!
I have one question: is it possible to load model built from "ml.dmlc.xgboost4j.scala.{XGBoost, DMatrix}" libraries with the predictor-spark package?
I was able to do this without error but the model looks strange to me:
scala> model.numFeatures
res15: Int = -1
and the prediction results are completely wrong.
Thanks.
The text was updated successfully, but these errors were encountered:
xgboostPredictor.getSparkModelParam match {
case param: SparkModelParam =>
val model = param.getModelType match {
case "_cls_" => loadClassificationModel(xgboostPredictor, param)
case "_reg_" => loadRegressionModel(xgboostPredictor, param)
}
hi Komiya,
This is a very interesting project you've built!
I have one question: is it possible to load model built from "ml.dmlc.xgboost4j.scala.{XGBoost, DMatrix}" libraries with the predictor-spark package?
I was able to do this without error but the model looks strange to me:
scala> model.numFeatures
res15: Int = -1
and the prediction results are completely wrong.
Thanks.
The text was updated successfully, but these errors were encountered: