Share via

ML.NET 2.0 AutoML & Deep Learning Samples

ML.NET version Status App Type Data type Scenario ML Task Algorithms
v2.0.0 Up-to-date Console App .csv file AutoML, Text Classification, Sentence Similarity Regression,Text Classification,Sentence Similarity Sdca, NAS-BERT

This directory contains samples for ML.NET 2.0.

Data

The samples in this directory use the following datasets:

How to use these samples

To use these samples, download the datasets above and place them in the Data directory.

In Visual Studio, set any of the projects as the Startup project and run the application.

dotnet CLI

You may have to update the dataPath in the console apps. Then, in the terminal, navigate to the project directory and enter dotnet run.

Samples

AutoML

  • AutoMLQuickStart - C# console application that shows how to get started with the AutoML API.
  • AutoMLAdvanced - C# console application that shows the following concepts:
    • Modifying column inference results
    • Excluding trainers
    • Configuring monitoring
    • Choosing tuners
    • Cancelling experiments
  • AutoMLEstimators - C# console application that shows how to:
    • Customize search spaces
    • Create sweepable estimators
  • AutoMLTrialRunner - C# console application that shows how to create your own trial runner for the Text Classification API.

Natural Language Processing (NLP)