2 writes to Accuracy
Microsoft.ML.TorchSharp (2)
TorchSharpBaseTrainer.cs (2)
149
Accuracy
= 0;
216
Accuracy
= numCorrect / (float)numRows;
3 references to Accuracy
Microsoft.ML.TorchSharp (3)
TorchSharpBaseTrainer.cs (3)
108
pch.SetHeader(header, e => e.SetMetric(0, trainer.
Accuracy
));
217
pch.Checkpoint(
Accuracy
);
218
ch.Info($"Accuracy for epoch {epoch}: {
Accuracy
}");