Microsoft.ML 4.0.0

Prefix Reserved
dotnet add package Microsoft.ML --version 4.0.0                
NuGet\Install-Package Microsoft.ML -Version 4.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.ML" Version="4.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.ML --version 4.0.0                
#r "nuget: Microsoft.ML, 4.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.ML as a Cake Addin
#addin nuget:?package=Microsoft.ML&version=4.0.0

// Install Microsoft.ML as a Cake Tool
#tool nuget:?package=Microsoft.ML&version=4.0.0                

About

ML.NET is a cross-platform open-source machine learning framework which makes machine learning accessible to .NET developers.

For more information, see the ML.NET documentation.

Key Features

  • Classification/Categorization - Automatically divide customer feedback into positive and negative categories
  • Regression/Predict continuous values - Predict the price of houses based on size and location
  • Anomaly Detection - Detect fraudulent banking transactions
  • Recommendations - Suggest products that online shoppers may want to buy, based on their previous purchases
  • Time series/sequential data - Forecast the weather/product sales
  • Image classification - Categorize pathologies in medical images
  • Text classification - Categorize documents based on their content.
  • Sentence similarity - Measure how similar two sentences are.

How to Use

See Machine Learning Samples for an assortment of samples that show how to get started using ML.NET.

Main Types

Some of the types provided by this library are:

  • Microsoft.ML.MLContext
  • Microsoft.ML.ITransformer
  • Microsoft.ML.IEstimator<TTransformer>

Additional Documentation

Feedback & Contributing

Microsoft.ML is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (127)

Showing the top 5 NuGet packages that depend on Microsoft.ML:

Package Downloads
Microsoft.ML.LightGbm

ML.NET component for LightGBM

Microsoft.ML.FastTree

ML.NET component for FastTree

Microsoft.ML.ImageAnalytics

ML.NET component for Image support

Microsoft.ML.TensorFlow

Microsoft.ML.TensorFlow contains ML.NET integration of TensorFlow.

Microsoft.ML.TimeSeries

Microsoft.ML.TimeSeries contains ML.NET Time Series prediction algorithms. Uses Intel Mkl.

GitHub repositories (38)

Showing the top 5 popular GitHub repositories that depend on Microsoft.ML:

Repository Stars
dotnet/machinelearning
ML.NET is an open source and cross-platform machine learning framework for .NET.
dotnet/samples
Sample code referenced by the .NET documentation
Danily07/Translumo
Advanced real-time screen translator for games, hardcoded subtitles in videos, static text and etc.
dotnet/spark
.NET for Apache® Spark™ makes Apache Spark™ easily accessible to .NET developers.
Webreaper/Damselfly
Damselfly is a server-based Photograph Management app. The goal of Damselfly is to index an extremely large collection of images, and allow easy search and retrieval of those images, using metadata such as the IPTC keyword tags, as well as the folder and file names. Damselfly includes support for object/face detection.
Version Downloads Last updated
4.0.0 16,979 11/13/2024
4.0.0-preview.24522.7 1,665 10/23/2024
4.0.0-preview.24378.1 7,528 7/29/2024
4.0.0-preview.24271.1 10,126 5/21/2024
4.0.0-preview.24162.2 6,463 3/13/2024
3.0.1 832,219 1/18/2024
3.0.0 125,830 11/27/2023
3.0.0-preview.23511.1 3,512 10/13/2023
3.0.0-preview.23266.6 46,845 5/17/2023
3.0.0-preview.22621.2 9,010 12/22/2022
2.0.1 905,362 2/1/2023
2.0.1-preview.22573.9 3,378 11/24/2022
2.0.0 248,200 11/8/2022
2.0.0-preview.22551.1 1,234 11/1/2022
2.0.0-preview.22313.1 16,194 6/14/2022
2.0.0-preview.22310.1 406 6/11/2022
1.7.1 1,309,507 3/9/2022
1.7.0 539,680 11/9/2021
1.7.0-preview.final 1,281 10/22/2021
1.6.0 756,475 7/15/2021
1.5.5 497,231 3/4/2021
1.5.4 130,943 12/17/2020
1.5.2 392,299 9/11/2020
1.5.1 98,374 7/11/2020
1.5.0 168,566 5/27/2020
1.5.0-preview2 70,590 3/12/2020
1.5.0-preview 76,988 12/26/2019
1.4.0 551,288 11/5/2019
1.4.0-preview2 30,994 10/8/2019
1.4.0-preview 72,157 8/30/2019
1.3.1 286,233 8/6/2019
1.2.0 82,545 7/3/2019
1.1.0 43,917 6/4/2019
1.0.0 172,557 5/2/2019
1.0.0-preview 23,862 4/2/2019
0.11.0 41,408 3/5/2019
0.10.0 48,475 2/5/2019
0.9.0 53,067 1/8/2019
0.8.0 22,870 12/4/2018
0.7.0 35,585 11/6/2018
0.6.0 19,889 10/2/2018
0.5.0 10,239 9/5/2018
0.4.0 69,931 8/7/2018
0.3.0 37,291 7/3/2018
0.2.0 8,486 6/5/2018
0.1.0 25,708 5/7/2018