In my last posts I was testing AutoML using the Model Builder inside Visual Studio and also the CLI commands. There is also an API to use this in a .Net app, and the usage is very simple.
It all start, of course, adding the [Microsoft.ML.AutoML] nuget package
I read the documentation in [How to use the ML.NET automated machine learning API], and I created the following sample using the same data as in my previous posts.
The final result displays the results for each one of the tests and showcase the top 3 ranked models. This time LightGBM Trainer is one more time the best trainer to choose.
There is a full set of samples in the Machine Learning .Net Samples repository. I’ve reused some classes from the Common folder.
The complete source code is available https://github.com/elbruno/Blog/tree/master/20190516%20MLNET%20AutoML%20API
Greetings @ Toronto
- How to use the ML.NET automated machine learning API
- Auto generate a binary classifier using the CLI
- Machine Learning Model Builder
- How to install the ML.NET Command-Line Interface (CLI) tool
- Machine Learning .Net Samples