Coder Social home page Coder Social logo

powershell-azureml-runpipeline's Introduction

Running Azure Machine Learning pipelines with PowerShell

This repo contains a PowerShell script that will start an Azure Machine Learning pipeline and monitor the run's status until the run reaches a final status, either Completed or Failed. The script will then return an exit code, either 0 for success or 1 for failed. The pipeline run is started and status is monitored using the Azure ML REST APIs. The previous version of this script used az cli + Azure Machine Learning extension instead. The az cli version can still be found in the azureclirunpipeline branch.

Usage

$clientId = 'your service principal client id'
$clientSecret = 'your service principal client secret'
$tenantId = 'your Azure AD tenant id'
$pipelineId = 'id (guid) of pipeline you want to run'
$experimentName = 'name of AML experiement'
$workspaceName = 'name of your AML workspace'
$resourceGroupName = 'name of resource group that contains your AML workspace'
$subscriptionId = 'id (guid) of Azure subscription that contains your AML workspace'
$location = 'region where your AML workspace is located'
$secondsBetweenStatusCheck = 60 # number of seconds to sleep before checking the run status again

.\run-pipelin1.ps1 -ClientId $clientId -ClientSecret $clientSecret -TenantId $tenantId -PipelineId $pipelineId -ExperimentName $experimentName -WorkspaceName $workspaceName -ResourceGroupName $resourceGroupName -SubscriptionId $subscriptionId -Location $location -SecondsBetweenStatusCheck $secondsBetweenStatusCheck

powershell-azureml-runpipeline's People

Contributors

christopherhouse avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.