I am trying to get the Prediction probabilities for my AutoML run, but when i try to run the code below, I am getting the "'ScriptRun' object has no attribute 'get_output' error". Can someone please help on how to convert the ScriptRun object to fix this?
autoML = ws.models['<MODEL NAME>']
autoML.run.get_metrics()
---the code runs until here---
best_model = run.get_output()
---AttributeError: 'ScriptRun' object has no attribute 'get_output'---
best_model.predict_proba(X)