azure - Azure 中的机器学习 : How do I publish a pipeline to the workspace once I've already built it in Python using the SDK?

标签 azure machine-learning azure-machine-learning-service

我不知道还能在哪里问这个问题,因此非常感谢任何帮助或反馈。我一直在阅读 azure 机器学习服务的 SDK 文档(特别是 azureml.core)。有一个名为 Pipeline 的类,它具有方法 validate()publish()。以下是相关文档:

https://learn.microsoft.com/en-us/python/api/azureml-pipeline-core/azureml.pipeline.core.pipeline.pipeline?view=azure-ml-py

当我调用 validate() 时,所有内容都会验证并调用发布,但它似乎只在工作区中创建一个 API 端点,它不会在 Pipelines 下注册我的管道,并且显然没有任何内容设计师。

我的问题:我想发布我的管道,因此我只需单击一下即可从工作区启动。我已经使用 SDK(Python 代码)构建了它。我不想使用 API。有什么方法可以做到这一点,还是我必须使用设计器(拖放)重建整个管道?

最佳答案

完全理解你的困惑。我们的团队使用 Azure ML 管道已经有一段时间了,但 PublishedPipelines 最初仍然让我感到困惑,因为:

  • SDK 所称的 PublishedPipeline 在 Studio UI 中被称为 Pipeline Endpoint,并且
  • 它与DatasetModel.register()方法半相关,但本质上不同。

TL;DR:Pipeline.publish() 所做的只是创建一个端点,您可以使用它来:

您可以在 Studio UI 中的两个位置看到 PublishedPipelines:

  • 管道页面::“管道端点”选项卡
  • 端点页面::“管道端点”选项卡

enter image description here

关于azure - Azure 中的机器学习 : How do I publish a pipeline to the workspace once I've already built it in Python using the SDK?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63045395/

相关文章:

azure - CosmosDB MongoDB API : New query is hidden

c# - Azure存储: 403 Server failed to authenticate the request

machine-learning - 使用Caffe对 "hand-crafted"图像特征进行分类

Python 一种热向量编码

python - l1 对多项逻辑回归的正则化支持

azure - 针对 Azure 机器学习管道中的错误采取的操作

amazon-web-services - Azure 和 AWS 之间基于事件的集成

python-3.x - Azure Put Blob API 返回规范化 header 中的文件大小不匹配

azure - 在 Microsoft Azure 机器学习中打开终端时出错

python-3.x - Azure Web 服务部署在本地如何工作?