A collection of samples demonstrating how to use ML.NET for various machine learning tasks in .NET applications.
ML.NET Samples is a GitHub repository containing example code and applications that demonstrate how to use ML.NET, Microsoft's open-source machine learning framework for .NET. It provides practical implementations for various machine learning tasks, helping .NET developers learn how to build, train, and deploy ML models within their applications. The samples range from simple console apps for specific ML tasks to complete end-to-end web and desktop applications.
.NET developers who want to incorporate machine learning into their applications, particularly those new to ML.NET or looking for reference implementations for specific ML tasks like classification, regression, or recommendation systems.
Developers choose ML.NET Samples because it provides production-ready, well-documented examples directly from the ML.NET team, covering a wide range of ML tasks and integration scenarios. It serves as the official learning resource for ML.NET, offering both beginner-friendly getting-started samples and advanced end-to-end application patterns.
Samples for ML.NET, an open source and cross-platform machine learning framework for .NET.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Samples span a wide range of ML tasks including binary classification, multi-class classification, recommendation, regression, time series forecasting, anomaly detection, clustering, ranking, and computer vision, as detailed in the README tables.
Includes complete web and desktop applications, such as scalable models deployed on WebAPI, Razor web apps, Azure Functions, and Blazor, demonstrating real-world integration patterns.
ML.NET is cross-platform, and samples are provided for .NET developers on Windows, Mac, or Linux, with some examples available in both C# and F#.
Offers preview samples for ML.NET CLI and AutoML API, automating model generation for binary classification, multiclass classification, and regression tasks.
Automated ML tools are only in preview state and currently support only binary classification, multiclass classification, and regression, with other tasks like recommendations and anomaly detection not yet available.
AutoML API samples reference older versions (0.1.x) and point to new samples for 0.2.x, which can confuse developers about which APIs to use for current projects.
Not all samples have F# versions, as seen in tables where some entries list only C#, limiting options for F# developers in specific scenarios.