Skip to content

ML.NET introduction: port to .NET 11 and Microsoft.ML 6.0.0 - #2396

Merged
vladimir-pecanac-main merged 3 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/88652-csharp-mlnet-machine-learning-introduction
Nov 25, 2026
Merged

vladimir-pecanac-main merged 3 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/88652-csharp-mlnet-machine-learning-introduction

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Moves csharp-machine-learning/MachineLearningInCsharp to net11.0 and Microsoft.ML 6.0.0, updates the test project to MSTest 4.5.3, Microsoft.NET.Test.Sdk 18.12.0 and coverlet.collector 10.1.0, drops the unused BenchmarkDotNet reference, trains the model once per test run in ClassInitialize, moves the test and demo inputs inside the dataset's range, loads the model from the application folder, prints the confusion matrix after evaluation, fixes the nullable warnings and regenerates trainedModel.zip from the updated pipeline.

Retarget all projects to net11.0, update Microsoft.ML to 6.0.0 and the
test packages to MSTest 4.5.3, drop the unused BenchmarkDotNet reference,
train once per test run, use inputs inside the dataset's range, load the
model from the application folder, print the confusion matrix and
regenerate trainedModel.zip.
@vladimir-pecanac-main
vladimir-pecanac-main merged commit ada6b49 into CodeMazeBlog:main Nov 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant