dotnet/machinelearning-samples resource
Samples for ML.NET, an open source and cross-platform machine learning framework for .NET. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3022
- days_rel: n/a
- days_push: 767
- n_releases_24m: 0
Adoption not part of the score
4686 stars · 2672 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
The official samples repository for ML.NET, Microsoft's cross-platform machine learning framework for .NET. It contains getting-started console samples for each ML task (in C# and F#) as well as end-to-end web and desktop apps infused with ML.NET models.
Use cases
- learn how to do sentiment analysis in C# with ML.NET
- example code for training a machine learning model in .NET
- spam detection sample for .NET developers
- credit card fraud detection example with ML.NET
- build a recommendation system in C#
- end-to-end sample app with machine learning in .NET
- get started with ML.NET as a beginner
When to choose
- you are a .NET developer learning machine learning with ML.NET
- you want copy-paste-ready C# or F# examples for common ML tasks
- you need reference implementations of ML scenarios like classification, regression, or recommendation
When to avoid
- you need a production machine learning framework itself rather than examples
- you work outside the .NET ecosystem (e.g., Python, JVM)
- you need cutting-edge deep learning research code
Facets
learning-resource · maturity active
machine-learning nlp data-science machine-learning tutorials developer-tools cross-platform windows dotnet ml.net samples csharp fsharp binary-classification sentiment-analysis recommendation anomaly-detection automl linux macos
4 sources
- readme: https://github.com/dotnet/machinelearning-samples · fetched 2026-08-28 · 03ea175b6733
- homepage: https://dot.net/ml · fetched 2026-08-29 · 4e0f91861335
- site_page: https://learn.microsoft.com/docs · fetched 2026-08-29 · f29800be2b9a
- site_page: https://learn.microsoft.com/en-us/dotnet · fetched 2026-08-29 · efa9016b58aa
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dotnet/machinelearning-samples | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="dotnet/machinelearning-samples")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem