You use the following code to define the steps for a pipeline:
from azureml.core import Workspace, Experiment, Run
from azureml.pipeline.core import Pipeline
from azureml.pipeline.steps import PythonScriptStep
ws = Workspace.from_config()
. . .
step1 = PythonScriptStep(name="step1", ...)
step2 = PythonScriptsStep(name="step2", ...)
pipeline_steps = [step1, step2]
You need to add code to run the steps.
Which two code segments can you use to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
After you define your steps, you build the pipeline by using some or all of those steps.
# Build the pipeline. Example:
pipeline1 = Pipeline(workspace=ws, steps=[compare_models])
# Submit the pipeline to be run
pipeline_run1 = Experiment(ws, 'Compare_Models_Exp').submit(pipeline1)
https://docs.microsoft.com/en-us/azure/machine-learning/how-to-create-machine-learning-pipelines
Murray
5 months agoMelodie
5 months agoAlyce
5 months agoShay
5 months agoSage
6 months agoCarmelina
6 months agoJosphine
6 months agoDalene
6 months agoMickie
6 months agoRoosevelt
6 months agoDulce
6 months agoAudrie
6 months agoLetha
6 months ago