Unable to use predict_proba with Automated ML

Domsohn, Kyle 26 Reputation points
2024-12-04T13:31:41.7466667+00:00

After the updates to Azure AI Machine Learning Studio, I have been unable to get the prediction probability when using Automated ML. I am creating an automated ML Job to create classification models. From there I am using the best model and then deploying it as a Real-time endpoint. From there I am using the below json sample and even though I am choosing "predict_proba" as the method I only get the prediction. Before the updates, I was able get the predication probability defining the method but seem to be unable to now. I checked and the autogenerated scoring scripts have a section that allows you to choose the method "predict_proba" as well. Any help with this would be greatly appreciated!

data ={

"GlobalParameters":{"method":"predict_proba"},

"input_data": {

"columns": [

  "Column 1",

  "Column 2",

  "Column 3",

  "Column 4",

  "Column 5",

  "Column 6",

  "Column 7",

  "Column 8"

],

"index": [0],

"data": [["Data 1", "Data 2", "Data 3", "Data 4", "Data 5", "Data 6", "Data 7", "Data 8"]]

}

}

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,182 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.