|Initial release||7 May 2018|
1.5.5 / 3 March 2021
|Written in||C# and C++|
|Operating system||Linux, macOS, Windows|
|Type||Machine learning library|
ML.NET is a free software machine learning library for the C# and F# programming languages. It also supports Python models when used together with NimbusML. The preview release of ML.NET included transforms for feature engineering like n-gram creation, and learners to handle binary classification, multi-class classification, and regression tasks. Additional ML tasks like anomaly detection and recommendation systems have since been added, and other approaches like deep learning will be included in future versions.
ML.NET brings model-based Machine Learning analytic and prediction capabilities to existing .NET developers. The framework is built upon .NET Core and .NET Standard inheriting the ability to run cross-platform on Linux, Windows and macOS. Although the ML.NET framework is new, its origins began in 2002 as a Microsoft Research project named TMSN (text mining search and navigation) for use internally within Microsoft products. It was later renamed to TLC (the learning code) around 2011. ML.NET was derived from the TLC library and has largely surpassed its parent says Dr. James McCaffrey, Microsoft Research.
Developers can train a Machine Learning Model or reuse an existing Model by a 3rd party and run it on any environment offline. This means developers do not need to have a background in Data Science to use the framework. Support for the open-source Open Neural Network Exchange (ONNX) Deep Learning model format was introduced from build 0.3 in ML.NET. The release included other notable enhancements such as Factorization Machines, LightGBM, Ensembles, LightLDA transform and OVA. The ML.NET integration of TensorFlow is enabled from the 0.5 release. Support for x86 & x64 applications was added to build 0.7 including enhanced recommendation capabilities with Matrix Factorization. A full roadmap of planned features have been made available on the official GitHub repo.
The first stable 1.0 release of the framework was announced at Build (developer conference) 2019. It included the addition of a Model Builder tool and AutoML (Automated Machine Learning) capabilities. Build 1.3.1 introduced a preview of Deep Neural Network training using C# bindings for Tensorflow and a Database loader which enables model training on databases. The 1.4.0 preview added ML.NET scoring on ARM processors and Deep Neural Network training with GPU's for Windows and Linux.
Microsoft's paper on machine learning with ML.NET demonstrated it is capable of training sentiment analysis models using large datasets while achieving high accuracy. Its results showed 95% accuracy on Amazon's 9GB review dataset.
The ML.NET CLI is a Command-line interface which uses ML.NET AutoML to perform model training and pick the best algorithm for the data. The ML.NET Model Builder preview is an extension for Visual Studio that uses ML.NET CLI and ML.NET AutoML to output the best ML.NET Model using a GUI.
AI fairness and explainability has been an area of debate for AI Ethicists in recent years. A major issue for Machine Learning applications is the black box effect where end users and the developers of an application are unsure of how an algorithm came to a decision or whether the dataset contains bias. Build 0.8 included model explainability API's that had been used internally in Microsoft. It added the capability to understand the feature importance of models with the addition of 'Overall Feature Importance' and 'Generalized Additive Models'.
When there are several variables that contribute to the overall score, it is possible to see a breakdown of each variable and which features had the most impact on the final score. The official documentation demonstrates that the scoring metrics can be output for debugging purposes. During training & debugging of a model, developers can preview and inspect live filtered data. This is possible using the Visual Studio DataView tools.
Microsoft Research announced the popular Infer.NET model-based machine learning framework used for research in academic institutions since 2008 has been released open source and is now part of the ML.NET framework. The Infer.NET framework utilises probabilistic programming to describe probabilistic models which has the added advantage of interpretability. The Infer.NET namespace has since been changed to Microsoft.ML.Probabilistic consistent with ML.NET namespaces.
NimbusML Python support
Microsoft acknowledged that the Python programming language is popular with Data Scientists, so it has introduced NimbusML the experimental Python bindings for ML.NET. This enables users to train and use machine learning models in Python. It was made open source similar to Infer.NET.
Machine learning in the browser
AI School Machine Learning Course
- Microsoft Cognitive Toolkit
- List of numerical analysis software
- List of numerical libraries for .NET framework
- Ankit Asthana (2017-05-07). "Introducing ML.NET: Cross-platform, Proven and Open Source Machine Learning Framework". blogs.msdn.microsoft.com. https://blogs.msdn.microsoft.com/dotnet/2018/05/07/introducing-ml-net-cross-platform-proven-and-open-source-machine-learning-framework/.
- "ML.NET: Machine Learning made for .NET". https://www.microsoft.com/net/learn/apps/machine-learning-and-ai/ml-dotnet.
- at master · DotNet/MachineLearning
- David Ramel (2018-05-08). "Open Source, Cross-Platform ML.NET Simplifies Machine Learning -- Visual Studio Magazine". Visual Studio Magazine. https://visualstudiomagazine.com/articles/2018/05/08/ml-net-framework.aspx.
- Kareem Anderson (2017-05-09). "Microsoft debuts ML.NET cross-platform machine learning framework". On MSFT. https://www.onmsft.com/news/microsoft-debuts-ml-net-cross-platform-machine-learning-framework.
- Ankit Asthana (2018-08-07). "Announcing ML.NET 0.4". blogs.msdn.microsoft.com. https://blogs.msdn.microsoft.com/dotnet/2018/08/07/announcing-ml-net-0-4/.
- Gal Oshri (2018-05-06). "ML.NET 0.1 Release Notes". GitHub. https://github.com/dotnet/machinelearning/blob/master/Documentation/release-notes/0.1/release-0.1.md.
- Tiwari, Aditya (2018-05-08). "Microsoft Launches ML.NET Open Source Machine Learning Framework". Fossbytes. https://fossbytes.com/microsoft-ml-net-open-source-framework-preview-released/. "Over time, it will enable other ML tasks like anomaly detection, recommendation system, and other approaches like deep learning using the benefits of added libraries."
- "Machine learning tasks in ML.NET". https://docs.microsoft.com/en-us/dotnet/machine-learning/resources/tasks.
- James McCaffrey (2018-12-19). "ML.NET: The Machine Learning Framework for .NET Developers". MSDN Magazine Connect() Special Issue 2018. https://msdn.microsoft.com/en-us/magazine/mt848634/. "Even though the ML.NET library is new, its origins go back many years. Shortly after the introduction of the Microsoft .NET Framework in 2002, Microsoft Research began a project called TMSN (“text mining search and navigation”) to enable software developers to include ML code in Microsoft products and technologies. The project was very successful, and over the years grew in size and usage internally at Microsoft. Somewhere around 2011 the library was renamed to TLC (“the learning code”). TLC is widely used within Microsoft and is currently in version 3.10. The ML.NET library is a descendant of TLC, with Microsoft-specific features removed. I’ve used both libraries and, in many ways, the ML.NET child has surpassed its parent."
- "Release Microsoft ML.NET v0.3". Github. 2018-07-03. https://github.com/dotnet/machinelearning/blob/release/preview/docs/release-notes/0.3/release-0.3.md/.
- "Announcing ML.NET 0.7 (Machine Learning .NET)". Microsoft. 2018-11-08. https://blogs.msdn.microsoft.com/dotnet/2018/11/08/announcing-ml-net-0-7-machine-learning-net/.
- "The ML.NET Roadmap". Github. 2018-05-09. https://github.com/dotnet/machinelearning/blob/d9d1216221701ee04951353e5180954056474cbf/ROADMAP.md/.
- "Announcing ML.NET 1.0". Microsoft. 2019-05-06. https://devblogs.microsoft.com/dotnet/announcing-ml-net-1-0/.
- "SciSharp/TensorFlow.NET". SciSharp STACK. 21 February 2020. https://github.com/SciSharp/TensorFlow.NET.
- "ML.NET 1.4.0-preview2". Github. 2019-10-09. https://github.com/dotnet/machinelearning/releases/tag/1.4.0-preview2/.
- Ahmed, Zeeshan; Amizadeh, Saeed; Bilenko, Mikhail; Carr, Rogan; Chin, Wei-Sheng; Dekel, Yael; Dupre, Xavier; Eksarevskiy, Vadim et al. (2019-05-15). "arXiv 1905.05715: Machine Learning at Microsoft with ML .NET". Microsoft & Yandex. doi:10.1145/3292500.3330667.
- "dotnet/machinelearning-modelbuilder". .NET Platform. 17 February 2020. https://github.com/dotnet/machinelearning-modelbuilder.
- "Artificial Intelligence Can Reinforce Bias, Cloud Giants Announce Tools For AI Fairness". Forbes. 2018-09-24. https://www.forbes.com/sites/paulteich/2018/09/24/artificial-intelligence-can-reinforce-bias-cloud-giants-announce-tools-for-ai-fairness/.
- "What it means to open AI's black box". PwC. 2018-05-15. https://usblogs.pwc.com/emerging-technology/to-open-ai-black-box/.
- Hastie, Trevor J. (1 November 2017). "Generalized Additive Models" (in en). Statistical Models in S. pp. 249–307. doi:10.1201/9780203738535-7. ISBN 9780203738535.
- "Announcing ML.NET 0.8 – Machine Learning for .NET". Microsoft. 2018-12-04. https://blogs.msdn.microsoft.com/dotnet/2018/12/04/announcing-ml-net-0-8-machine-learning-for-net/.
- "Microsoft open-sources Infer.NET AI code just in time for the weekend". The Register. 2018-10-05. https://www.theregister.co.uk/2018/10/05/imicrosoft_nfernet/.
- "Microsoft open sources Infer.NET, its popular model-based machine learning framework". Packt. 2018-10-08. https://hub.packtpub.com/microsoft-open-sources-infer-net-its-popular-model-based-machine-learning-framework.
- "ML.NET – Export Machine Learning.Net models to ONNX format". El Bruno. 2018-07-11. https://elbruno.com/2018/07/11/mlnet-export-machine-learning-net-models-to-onnx-format/.
- "ONNX.js: Universal Deep Learning Models in The Browser". Will Badr. 2019-01-08. https://towardsdatascience.com/onnx-js-universal-deep-learning-models-in-the-browser-fbd268c67513/.
- "AI School". Microsoft AI. 2018-05-07. https://aischool.microsoft.com/learning-paths/.
- "ML.NET Guide". Microsoft. 2018-05-07. https://docs.microsoft.com/en-us/dotnet/machine-learning/.
- "Infer.NET User Guide". Infer.NET. 2018-10-05. https://dotnet.github.io/infer/userguide/.
- Hands-On Machine Learning with ML.NET: Getting started with Microsoft ML.NET to implement popular machine learning algorithms in C#. Packt Publishing. 2020. ISBN 978-1789801781.
- ML.NET Revealed: Simple Tools for Applying Machine Learning to Your Applications. Apress. 2020. ISBN 978-1484265420.
Original source: https://en.wikipedia.org/wiki/ ML.NET. Read more