Azure Machine Learning in VS Code

Azure Machine Learning 是一個雲端環境,可用於訓練、部署、自動化、管理及追蹤機器學習模型。如需 Azure Machine Learning 的詳細資訊,請參閱 什麼是 Azure Machine Learning?

Azure Machine Learning VS Code 擴充功能讓您能在 Visual Studio Code 中使用熟悉的各項功能,來開發您的機器學習應用程式。

Azure Machine Learning Visual Studio Code extension view

桌面版或網頁版

您可以在 VS Code 桌面版或 網頁版 VS Code (VS Code for the Web) 中使用 Azure Machine Learning。網頁版 VS Code 提供免安裝的免費 VS Code 體驗,可完全在您的瀏覽器中執行(網址:https://vscode.dev)。請查看 啟動 Azure Machine Learning 的指南以了解詳情。

連線至遠端運算執行個體

運算執行個體 (Compute instances) 是用於開發機器學習應用程式的受控雲端工作站。

Azure Machine Learning VS Code 擴充功能可讓您輕鬆即時連線並存取運算執行個體中的資源。如需詳細資訊,請參閱 連線至 Azure Machine Learning 運算執行個體

Azure Machine Learning 2.0 CLI 支援(預覽版)

Azure Machine Learning 2.0 CLI 讓您能從命令列訓練及部署模型。其功能有助於加速資料科學的擴充與規模化,同時追蹤模型生命週期。

當使用 Azure Machine Learning 規格檔案時,該 VS Code 擴充功能針對下列功能提供支援:

  • 規格檔案撰寫
  • 語言支援
  • 資源自動完成

規格檔案撰寫

請在 VS Code 中使用命令選擇區 (Command Palette) 的 Azure ML 命令(⇧⌘P (Windows, Linux Ctrl+Shift+P)),或使用 Azure Machine Learning 檢視,以簡化規格檔案的撰寫流程。

Azure Machine Learning YAML specification file authoring

語言支援

Azure Machine Learning 擴充功能會將所有值與預設工作區中的資源進行交叉參照。如果擴充功能偵測到資源指定錯誤或屬性遺失,系統會顯示內嵌錯誤訊息。

Azure Machine Learning specification file language support

資源自動完成

當您開始處理資源時,將會發現 Azure Machine Learning 擴充功能可以檢查規格檔案。擴充功能會使用您指定的預設工作區,為該工作區中的資源提供自動完成支援。

Azure Machine Learning resource autocompletion

訓練機器學習模型

在 Azure Machine Learning 中,您可以使用熱門的框架來訓練機器學習模型,例如 scikit-learn、PyTorch、TensorFlow 等。該擴充功能讓提交並追蹤這些模型的生命週期變得非常容易。

如需詳細資訊,請參閱訓練機器學習模型教學課程

管理資源

您可以直接從 VS Code 建立及管理 Azure Machine Learning 資源。如需詳細資訊,請參閱如何在 VS Code 中管理資源

遠端 Jupyter 伺服器

VS Code 對於使用 Jupyter Notebook 進行開發提供極佳的支援。如需詳細資訊,請參閱 VS Code 中的 Jupyter Notebook

Azure Machine Learning 充分利用了 VS Code 強大的 Jupyter Notebook 支援。它能無縫連接至遠端運算執行個體,並將其用作遠端 Jupyter 伺服器。如需詳細資訊,請參閱 將運算執行個體設定為遠端筆記本伺服器

Git 整合

透過使用 Azure Machine Learning VS Code 擴充功能連線至遠端運算執行個體,您將能使用 VS Code 內建的 Git 支援。

後續步驟

© . This site is unofficial and not affiliated with Microsoft.