Can not use AutoML models

Anonymous
2022-05-27T09:09:59.833+00:00

Hello,

I have run an autoML model and in the jobs window of the studio, I can see it worked as I can see all the models generated under different algorithms and their performance. Then in notebook I am trying to retrive the best performing model and I am calling the AUTOML model using:

local_run = AutoMLRun(experiment, "AutoML_5970dd9a-1dae-4e6b-90ff-47878565822f_0",outputs=None)

which works just fine and then:

best_run, fitted_model = local_run.get_output()

and there is an error that I dont know how to solve: TypeError: the JSON object must be str, bytes or bytearray, not NoneType

So please your help to solve this!

Thank you!

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

2 answers

Sort by: Most helpful
  1. Alexandre 46 Reputation points
    2022-06-04T07:13:57.28+00:00

    I just solved this, it was caused by my Wrong JSON format. You need to check it too

    1 person found this answer helpful.
    0 comments No comments

  2. Ramr-msft 17,741 Reputation points
    2022-06-07T14:34:12.013+00:00

    Thanks for the update, Yes this issue caused due to the wrong format of json str.

    0 comments No comments

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.