mlnet
ML.NET
Trigger On
- integrating machine learning into a .NET application
- training or retraining ML.NET models from local data
- reviewing inference pipelines, model loading, or AutoML-generated code
Workflow
- Start from the prediction task and data quality, not the algorithm or package list.
- Separate training code from inference code so the production path stays lean and predictable.
- Review feature engineering, normalization, label quality, and evaluation metrics before trusting model output.
- Use Model Builder or the ML.NET CLI when they speed up exploration, but inspect the generated C# before treating it as production architecture.
- Plan how the model is loaded, versioned, and refreshed in the application lifecycle.
- Validate with representative datasets and explicit evaluation, not only with a sample that happens to run.
Deliver
- ML.NET pipelines that fit the prediction task
- production-usable inference integration
- evaluation evidence tied to the business scenario
Validate
- model quality is measured, not assumed
- training and inference responsibilities are separated
- deployment and versioning expectations are explicit
References
- patterns.md - Data loading, training pipelines, evaluation metrics, deployment strategies, and feature engineering patterns
- examples.md - Complete examples for sentiment analysis, price prediction, image classification, anomaly detection, recommendations, clustering, fraud detection, text classification, object detection, and AutoML
More from managedcode/dotnet-skills
dotnet-aspnet-core
Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on current .NET.
13dotnet-entity-framework-core
Design, tune, or review EF Core data access with proper modeling, migrations, query translation, performance, and lifetime management for modern .NET applications.
12dotnet-code-review
Review .NET changes for bugs, regressions, architectural drift, missing tests, incorrect async or disposal behavior, and platform-specific pitfalls before you approve or merge them.
11dotnet-architecture
Design or review .NET solution architecture across modular monoliths, clean architecture, vertical slices, microservices, DDD, CQRS, and cloud-native boundaries without over-engineering.
11dotnet-signalr
Implement or review SignalR hubs, streaming, reconnection, transport, and real-time delivery patterns in ASP.NET Core applications.
10dotnet-modern-csharp
Write modern, version-aware C# for .NET repositories. Use when choosing language features across C# versions, especially C# 13 and C# 14, while staying compatible with the repo's target framework and `LangVersion`.
10