Show / Hide Table of Contents

Class EpochEndEventArgs

Event triggered when the training epoch ends

Inheritance
System.Object
System.EventArgs
EpochEndEventArgs
Inherited Members
System.EventArgs.Empty
Namespace: SiaNet.Events
Assembly: SiaNet.dll
Syntax
public class EpochEndEventArgs : EventArgs

Constructors

| Improve this Doc View Source

EpochEndEventArgs(Int32, Int64, Single, Single, Single, Single, Int64)

Initializes a new instance of the EpochEndEventArgs class.

Declaration
public EpochEndEventArgs(int epoch, long samplesSeen, float loss, float validationLoss, float metric, float validationMetric, long duration)
Parameters
Type Name Description
System.Int32 epoch

The current epoch number.

System.Int64 samplesSeen

The number of samples seen during this training for the current epoch.

System.Single loss

The loss value for the current epoch.

System.Single validationLoss

The validation loss for the epoch.

System.Single metric

The metric value for the epoch.

System.Single validationMetric

The validation metric value for the epoch.

System.Int64 duration

The time took to complete the epoch. In milliseconds

Properties

| Improve this Doc View Source

Duration

Gets the time taken to complete the epoch. In milliseconds.

Declaration
public long Duration { get; }
Property Value
Type Description
System.Int64

The duration.

| Improve this Doc View Source

Epoch

Gets the current epoch.

Declaration
public int Epoch { get; }
Property Value
Type Description
System.Int32

The epoch.

| Improve this Doc View Source

Loss

Gets the loss value for the current epoch.

Declaration
public float Loss { get; }
Property Value
Type Description
System.Single

The loss.

| Improve this Doc View Source

Metric

Gets the metric value for the current epoch.

Declaration
public float Metric { get; }
Property Value
Type Description
System.Single

The metric.

| Improve this Doc View Source

SamplesSeen

Gets the nymber of samples seen during epoch training.

Declaration
public long SamplesSeen { get; }
Property Value
Type Description
System.Int64

The samples seen.

| Improve this Doc View Source

ValidationLoss

Gets the validation loss value for the current epoch.

Declaration
public float ValidationLoss { get; }
Property Value
Type Description
System.Single

The validation loss.

| Improve this Doc View Source

ValidationMetric

Gets the validation metric value for the current epoch.

Declaration
public float ValidationMetric { get; }
Property Value
Type Description
System.Single

The validation metric.

See Also

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