klyn.math.nn.Evaluation.accuracy
property
public readonly property accuracy as Double
Description

Fraction of correctly classified samples.

Throws
  • ValueException when hasAccuracy is false (regression).
Example

print(f"Accuracy: {result.accuracy * 100.0:.2f}%")