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
originally posted as a github issue [here|https://github.com//issues/1108]:
Although when calibration is enabled, EasyPredictModelWrapper returns a BinomialModelPrediction object which contains both raw probs and calibrated probs, the
implicit conversion defined here
{code}
sparkling-water/ml/src/main/scala/org/apache/spark/ml/h2o/models/H2OMOJOModel.scala
implicit def toBinomialPrediction(pred: AbstractPrediction) = BinomialPrediction(
pred.asInstanceOf[BinomialModelPrediction].classProbabilities(0),
pred.asInstanceOf[BinomialModelPrediction].classProbabilities(1))
{code}
transforms the BinomialModelPrediction object to a BinomialPrediction, which only contains raw probs (p0, and p1) and calibrated probabilities are NOT returned. Both raw and calibrated probabilities should be returned to the user.
The text was updated successfully, but these errors were encountered:
originally posted as a github issue [here|https://github.com//issues/1108]:
Although when calibration is enabled, EasyPredictModelWrapper returns a BinomialModelPrediction object which contains both raw probs and calibrated probs, the
implicit conversion defined here
{code}
sparkling-water/ml/src/main/scala/org/apache/spark/ml/h2o/models/H2OMOJOModel.scala
Lines 81 to 83 in 9968342
implicit def toBinomialPrediction(pred: AbstractPrediction) = BinomialPrediction(
pred.asInstanceOf[BinomialModelPrediction].classProbabilities(0),
pred.asInstanceOf[BinomialModelPrediction].classProbabilities(1))
{code}
transforms the BinomialModelPrediction object to a BinomialPrediction, which only contains raw probs (p0, and p1) and calibrated probabilities are NOT returned. Both raw and calibrated probabilities should be returned to the user.
The text was updated successfully, but these errors were encountered: