Table of Contents

Class TrainingStageResult<T, TInput, TOutput>

Namespace
AiDotNet.Models.Options
Assembly
AiDotNet.dll

Result of executing a training stage.

public class TrainingStageResult<T, TInput, TOutput>

Type Parameters

T

The numeric data type used for calculations.

TInput

The input data type for the model.

TOutput

The output data type for the model.

Inheritance
TrainingStageResult<T, TInput, TOutput>
Inherited Members

Properties

CheckpointPath

Gets or sets the checkpoint path if one was saved.

public string? CheckpointPath { get; set; }

Property Value

string

Duration

Gets or sets the duration of this stage.

public TimeSpan Duration { get; set; }

Property Value

TimeSpan

ErrorMessage

Gets or sets any error message if the stage failed.

public string? ErrorMessage { get; set; }

Property Value

string

EvaluationMetrics

Gets or sets evaluation metrics if evaluation was performed.

public Dictionary<string, double>? EvaluationMetrics { get; set; }

Property Value

Dictionary<string, double>

Metrics

Gets or sets the training metrics from this stage.

public FineTuningMetrics<T>? Metrics { get; set; }

Property Value

FineTuningMetrics<T>

Model

Gets or sets the model after this stage.

public IFullModel<T, TInput, TOutput>? Model { get; set; }

Property Value

IFullModel<T, TInput, TOutput>

StageIndex

Gets or sets the stage index in the pipeline.

public int StageIndex { get; set; }

Property Value

int

StageName

Gets or sets the name of the completed stage.

public string StageName { get; set; }

Property Value

string

Success

Gets or sets whether the stage completed successfully.

public bool Success { get; set; }

Property Value

bool