ML.NET 2.0 Samples

July 5, 2023 ยท View on GitHub

ML.NET versionStatusApp TypeData typeScenarioML TaskAlgorithms
v2.0.0Up-to-dateConsole App.csv fileAutoML, Text Classification, Sentence SimilarityRegression,Text Classification,Sentence SimilaritySdca, 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)