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 there. I tried to train a Spark BinaryLogisticRegressionModel with a dataset whose labels are the same value and used this model to make predictions.
@ihainan Would you be able to have a look at a fix for this and submit a PR? I think we would need to support serializing doubles as positive and negative infinity in the JsonSupport file in the bundle-ml submodule of MLeap.
Hi there. I tried to train a Spark
BinaryLogisticRegressionModel
with a dataset whose labels are the same value and used this model to make predictions.The result looks fine:
After converting to MLeap model, the "probabilities" are all nulls, the prediction result is incorrect as well.
Spark Version: 2.1.1
MLeap Version: 0.7.0
Seems that Spark set the
intercept
parameter toDouble.PositiveInfinity
but MLeap can't handle this situation.The text was updated successfully, but these errors were encountered: