Show / Hide Table of Contents

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 Source

History()

Initializes a new instance of the History class.

Declaration
public History()

Properties

| Improve this Doc View Source

TrainLosses

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

Add(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.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX