Class Experiment
Represents a machine learning experiment that groups related training runs.
public class Experiment : IExperiment
- Inheritance
-
Experiment
- Implements
- Inherited Members
Remarks
For Beginners: An experiment is a container for organizing related training runs. It helps you group all attempts at solving a particular ML problem together.
Constructors
Experiment(string, string?, Dictionary<string, string>?)
Initializes a new instance of the Experiment class.
public Experiment(string name, string? description = null, Dictionary<string, string>? tags = null)
Parameters
namestringThe name of the experiment.
descriptionstringOptional description.
tagsDictionary<string, string>Optional tags.
Properties
CreatedAt
Gets the timestamp when the experiment was created.
[JsonProperty]
public DateTime CreatedAt { get; }
Property Value
Description
Gets or sets the description of the experiment.
public string? Description { get; set; }
Property Value
ExperimentId
Gets the unique identifier for this experiment.
[JsonProperty]
public string ExperimentId { get; }
Property Value
LastUpdatedAt
Gets the timestamp of the last update to the experiment.
[JsonProperty]
public DateTime LastUpdatedAt { get; }
Property Value
Name
Gets or sets the name of the experiment.
public string Name { get; set; }
Property Value
Exceptions
- ArgumentNullException
Thrown when value is null.
- ArgumentException
Thrown when value is empty or whitespace.
Status
Gets the current status of the experiment.
[JsonProperty]
public string Status { get; }
Property Value
Tags
Gets or sets tags associated with the experiment.
public Dictionary<string, string> Tags { get; set; }
Property Value
Methods
Archive()
Archives this experiment, making it read-only.
public void Archive()
Restore()
Restores this experiment from archived status.
public void Restore()