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
After deploying mleap model artifact on sagemaker endpoint, during the inferencing stage, how can I get probabilities of prediction rather than binary outcome? I tried changing output column from prediction to probability, but I get the following error:
sagemaker: ml.combust.mleap.tensor.DenseTensor cannot be cast to java.lang.Double
Any suggestions?
The text was updated successfully, but these errors were encountered:
As far I can tell, you need to change your SparkML Pipeline to return probabilities rather than the outcome and then it can be successfully cast into the DenseTensor object.
Thanks for the comments, Orchid! I am trying to find documentation around pipeline models returning proababilities, unable to find any good source. Would you happen to have any examples of any spark classification model deployed on sagemaker that returns probabilities?
After deploying mleap model artifact on sagemaker endpoint, during the inferencing stage, how can I get probabilities of prediction rather than binary outcome? I tried changing output column from prediction to probability, but I get the following error:
sagemaker: ml.combust.mleap.tensor.DenseTensor cannot be cast to java.lang.Double
Any suggestions?
The text was updated successfully, but these errors were encountered: