dotnet / dotnet/machinelearning-modelbuilder

Confusion Matrix code sample for Notebooks

Open
#2,019 0 comments 0 reactions 0 assignees View on GitHub
Stale
Dominant language
Dockerfile
Stars
285
Forks
66
PR merge metrics
No merged PRs in 30d

Description

Add Confusion Matrix to the text classification Notebook.

Binary Classification:
```
var trainDataTransform = model.Transform(trainData);
var metrics = mlContext.BinaryClassification.EvaluateNonCalibrated(trainDataTransform, @);

Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.