Table of Contents

Class ExperimentInfo<T>

Namespace
AiDotNet.Models.Results
Assembly
AiDotNet.dll

Contains structured experiment tracking information from a trained model.

public record ExperimentInfo<T> : IEquatable<ExperimentInfo<T>>

Type Parameters

T

The numeric type used for calculations.

Inheritance
ExperimentInfo<T>
Implements
Inherited Members

Remarks

This record provides type-safe access to experiment tracking data, including the experiment and run identifiers, training metrics history, and hyperparameters.

For Beginners: This is a container for all experiment-related data.

It includes:

  • Experiment and run IDs for finding this specific training session
  • Access to the experiment tracker for comparing runs
  • Training metrics history for visualization
  • Hyperparameters used during training
  • Data version information for reproducibility

Constructors

ExperimentInfo(string?, string?, IExperimentRun<T>?, IExperimentTracker<T>?, Dictionary<string, List<double>>?, Dictionary<string, object>?, int?, string?)

Contains structured experiment tracking information from a trained model.

public ExperimentInfo(string? ExperimentId, string? RunId, IExperimentRun<T>? ExperimentRun, IExperimentTracker<T>? ExperimentTracker, Dictionary<string, List<double>>? MetricsHistory, Dictionary<string, object>? Hyperparameters, int? TrialId, string? DataVersionHash)

Parameters

ExperimentId string
RunId string
ExperimentRun IExperimentRun<T>
ExperimentTracker IExperimentTracker<T>
MetricsHistory Dictionary<string, List<double>>
Hyperparameters Dictionary<string, object>
TrialId int?
DataVersionHash string

Remarks

This record provides type-safe access to experiment tracking data, including the experiment and run identifiers, training metrics history, and hyperparameters.

For Beginners: This is a container for all experiment-related data.

It includes:

  • Experiment and run IDs for finding this specific training session
  • Access to the experiment tracker for comparing runs
  • Training metrics history for visualization
  • Hyperparameters used during training
  • Data version information for reproducibility

Properties

DataVersionHash

public string? DataVersionHash { get; init; }

Property Value

string

ExperimentId

public string? ExperimentId { get; init; }

Property Value

string

ExperimentRun

public IExperimentRun<T>? ExperimentRun { get; init; }

Property Value

IExperimentRun<T>

ExperimentTracker

public IExperimentTracker<T>? ExperimentTracker { get; init; }

Property Value

IExperimentTracker<T>

Hyperparameters

public Dictionary<string, object>? Hyperparameters { get; init; }

Property Value

Dictionary<string, object>

MetricsHistory

public Dictionary<string, List<double>>? MetricsHistory { get; init; }

Property Value

Dictionary<string, List<double>>

RunId

public string? RunId { get; init; }

Property Value

string

TrialId

public int? TrialId { get; init; }

Property Value

int?