🚀 在 VS Code 中取得

VS Code 中的 Azure Machine Learning

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

桌面或 Web

您可以在 VS Code 桌面版或適用於 Web 的 VS Code 中使用 Azure Machine Learning。「適用於 Web 的 VS Code」提供免費、免安裝的 VS Code 體驗,完全在瀏覽器中執行,網址為 https://vscode.dev。查看啟動 Azure Machine Learning 指南以深入了解。

連線到遠端運算執行個體

運算執行個體是受管理的雲端式工作站,可用於開發機器學習應用程式。

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 擴充功能提供下列功能支援

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

規格檔案撰寫

使用命令選擇區中的 [Azure ML 命令] (⇧⌘P (Windows、Linux Ctrl+Shift+P)) 或 VS Code 中的 [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 Notebooks 進行開發提供絕佳支援。如需詳細資訊,請參閱VS Code 中的 Jupyter Notebooks

Azure Machine Learning 運用 VS Code 中強大的 Jupyter Notebooks 支援。這使得連線到遠端運算執行個體,並將其作為遠端 Jupyter 伺服器使用變得順暢。如需詳細資訊,請參閱設定運算執行個體作為遠端 Notebook 伺服器

Git 整合

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

後續步驟