How to install ML.NET Model Builder
-
Artikel
-
- 2 minuter för att läsa
-
Learn how to install ML.NET Model Builder to add machine learning to your .NET applications.
Note
Model Builder is currently in Preview.
Prerequisites
- Visual Studio 2019 or in Visual Studio 2022 Preview 4 or later
- .NET Core 3.1 SDK or later.
Limitations
- ML.NET Model Builder Extension currently only works on Visual Studio on Windows.
- Microsoft SQL Server Data Tools for Visual Studio 2017 is not supported
Install Model Builder
ML.NET Model builder is built into Visual Studio. To enable it:
Open the Visual Studio Installer.
Select Modify to modify your current version of Visual Studio.
In the Visual Studio Installer, select the Individual components tab.
From the list of .NET components, check the ML.NET Model Builder (Preview) checkbox.
Open the Visual Studio Installer.
Select Modify to modify your current version of Visual Studio.
In the Visual Studio Installer, select the Individual components tab.
From the list of .NET components, check the ML.NET Model Builder checkbox.
Uninstall Model Builder
ML.NET Model builder is built into Visual Studio. To disable it:
Open the Visual Studio Installer.
Select Modify to modify your current version of Visual Studio.
In the Visual Studio Installer, select the Individual components tab.
From the list of .NET components, uncheck the ML.NET Model Builder (Preview) checkbox.
Open the Visual Studio Installer.
Select Modify to modify your current version of Visual Studio.
In the Visual Studio Installer, select the Individual components tab.
From the list of .NET components, uncheck the ML.NET Model Builder checkbox.
Upgrade Model Builder
Model Builder automatically updates when there's a new version.
However, if you'd prefer to manually install the latest version, either download it from Visual Studio Marketplace or use the Extensions Manager in Visual Studio. See how to update a Visual Studio extension for more information.