87568746 avatar image
0 Votes"
87568746 asked romungi-MSFT commented

Azure Machine Learning best model's update paramete with python pickle


i am trying to Azure Machine Learning best model's update parameter with python pickle type

best model trained by xgboost.

i load model through pickle and tried to change parameter.

import joblib



but it doesn't work.



this code is works.

let me know how to change model's parameter.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@87568746 Are you following any steps that you can share to create this model and load it? Is there any error when you use the first parameter? Essentially, it looks like the model returns the python object stored in it. In this case, the model that it is trained based on which the parameters that are to be set depend on it.

0 Votes 0 ·

the pickle file made by Azure ML automl service.

i tried to develop model by tunning some parameter by set_params method

as you know this pickle file has 'Pipeline', 'y_transformer', 'y_transformer_name' key.

and Pipeline has parameter setting

but as i wrote,

a.pipeline.set_params (memory = 'n')

this code is work.

memory parameter is changed.


a.pipeline.set_params (XGBoostClassifier__base_score = 0.6)

this code is not work.

please let me know how to change model's hyperparameter

0 Votes 0 ·

@87568746 Based on some available info on github forums I came across this issue where xgboost is not installed by default in training which caused issues to users after training. Could you please check if your case is similar?

Also, is it possible to check get_params() is available to check if this param can be set?

0 Votes 0 ·

0 Answers