Sequential..::..Train Method (XYFrame, Int32, Int32, XYFrame)

Trains the model for a fixed number of epochs.

Namespace:  SiaNet
Assembly:  SiaNet (in SiaNet.dll)

Syntax


public void Train(
	XYFrame train,
	int epoches,
	int batchSize,
	XYFrame validation
)
Public Sub Train ( _
	train As XYFrame, _
	epoches As Integer, _
	batchSize As Integer, _
	validation As XYFrame _
)
public:
void Train(
	XYFrame^ train, 
	int^ epoches, 
	int^ batchSize, 
	XYFrame^ validation
)

Parameters

train
Type: SiaNet.Model..::..XYFrame
The training dataset.
epoches
Type: Int32
The no. of trainin epoches.
batchSize
Type: Int32
Size of the batch for training.
validation
Type: SiaNet.Model..::..XYFrame
The validation dataset.