Train a machine learning model with Azure Machine Learning Flashcards

1
Q

What is an Estimator in Microsoft Azure?

A

In Azure Machine Learning, you can use a Run Configuration and a Script Run Configuration to run a script-based experiment that trains a machine learning model. However, depending on the machine learning framework being used and the dependencies it requires, the run configuration may become complex. Azure Machine Learning also provides a higher level abstraction called an Estimator that encapsulates a run configuration and a script configuration in a single object, and for which there are pre-defined, framework-specific variants that already include the package dependencies for common machine learning frameworks such as Scikit-Learn, PyTorch, and Tensorflow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are parameters for in the context of estimators

A

You can increase the flexibility of script-based experiments by using parameters to set variables in the script. Meaning that when specifying a model, it is possible to afterwards change several parameters of the model when deploying

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How is parameter setting done in Microsoft Azure? Does it need a library etc?

A

It requires the argparse library. After the model is saved, it is possible to assign a value to a parameter when the model is deployed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is model registration for?

A

Model registration enables you to track multiple versions of a model, and retrieve models for inferencing (predicting label values from new data). When you register a model, you can specify a name, description, tags, framework, framework version, custom properties, and other useful metadata

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You have run an experiment to train a model. You want the model to be stored in the workspace, and available to other experiments and published services. What should you do?

A

Register the model in the workspace

How well did you know this?
1
Not at all
2
3
4
5
Perfectly