Skip to content

Prediction Probability from mleap model deployed on sagemaker #693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
janvekarnaveed opened this issue Jun 5, 2020 · 1 comment
Closed

Comments

@janvekarnaveed
Copy link

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?

@ancasarb
Copy link
Member

Looks like this is answered under aws/sagemaker-sparkml-serving-container#13 (comment), closing for now, please re-open if you have further questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants