EvaluationReport<T>

Models & Types · AiDotNet.Evaluation.Results.Core

Comprehensive evaluation report containing all computed metrics and analysis results.

For Beginners

After evaluating your model, this report tells you everything: how accurate it is, where it struggles, what might be wrong, and how to improve it. Start with the ExecutiveSummary for a quick overview, then dive into specific sections as needed.

How It Works

This is the main result object returned by model evaluation. It contains:

  • All computed metrics with confidence intervals
  • Dataset statistics
  • Diagnostic results (residual analysis, calibration, etc.)
  • Warnings and recommendations

Constructors

Constructor Summary
EvaluationReport()

Properties

Property Summary
ClassificationResults<T> ClassificationResults { get; set; } Classification-specific results (confusion matrix, ROC, etc.).
DatasetStatistics<T> DatasetStatistics { get; set; } Statistics about the evaluation dataset.
DateTimeOffset Timestamp { get; set; } Timestamp when evaluation was performed.
Dictionary<string, TimeSpan> ComponentTimings { get; set; } Time breakdown by component.
Dictionary<string, object> Metadata { get; set; } Metadata about the evaluation configuration.
Guid EvaluationId { get; set; } Unique identifier for this evaluation run.
IReadOnlyList<EvaluationWarning> Warnings { get; set; } Warnings generated during evaluation.
IReadOnlyList<string> Recommendations { get; set; } Recommendations for improvement.
MetricCollection<T> Metrics { get; set; } All computed metrics organized by category.
MetricWithCI<T> PrimaryMetric { get; set; } Primary (most important) metric for this task.
RegressionResults<T> RegressionResults { get; set; } Regression-specific results (residual analysis, etc.).
TimeSpan? EvaluationDuration { get; set; } Total time taken for evaluation.
object CalibrationResults { get; set; } Calibration analysis results.
object FairnessResults { get; set; } Fairness analysis results.
object RobustnessResults { get; set; } Robustness analysis results.
object UncertaintyResults { get; set; } Uncertainty analysis results.
string DatasetName { get; set; } Dataset name or identifier used for evaluation.
string ModelName { get; set; } Model name or identifier being evaluated.
string ModelVersion { get; set; } Model version, if available.
string PrimaryMetricName { get; set; } Name of the primary metric.
string TaskType { get; set; } Task type (Classification, Regression, etc.).

Methods

Method Summary
Dictionary<string, T> GetMetricsAsDictionary() Gets all metrics as a dictionary.
MetricWithCI<T> GetMetric(string name) Gets a specific metric by name.
bool HasMetric(string name) Checks if a specific metric was computed.
string GetExecutiveSummary() Generates an executive summary of the evaluation results.
string GetQualityAssessment() Gets the overall quality assessment (Poor, Fair, Good, Excellent).