Class History
Class to hold the neural network training information history. Useful for plotting graphs for loss and metrics. Evaluate training performance
Inheritance
System.Object
History
Namespace: SiaNet
Assembly: SiaNet.dll
Syntax
public class History
Constructors
| Improve this Doc View SourceHistory()
Initializes a new instance of the History class.
Declaration
public History()
Properties
| Improve this Doc View SourceTrainLosses
Gets or sets the train loss history.
Declaration
public List<float> TrainLosses { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Single> | The train loss. |
TrainMetrics
Gets or sets the train metric history.
Declaration
public List<float> TrainMetrics { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Single> | The train metric. |
ValLosses
Gets or sets the value losess.
Declaration
public List<float> ValLosses { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Single> | The value losess. |
ValMetrics
Gets or sets the value metrics.
Declaration
public List<float> ValMetrics { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Single> | The value metrics. |
Methods
| Improve this Doc View SourceAdd(List<Single>, List<Single>, List<Single>, List<Single>)
Adds the specified train loss.
Declaration
public void Add(List<float> trainLoss, List<float> trainMetric, List<float> valLoss, List<float> valMetric)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.Single> | trainLoss | The train loss. |
System.Collections.Generic.List<System.Single> | trainMetric | The train metric. |
System.Collections.Generic.List<System.Single> | valLoss | The value loss. |
System.Collections.Generic.List<System.Single> | valMetric | The value metric. |