Method | Description | |
---|---|---|
Create ( Array input, Array output, Array weights = null, int batchSize = 32, int maxIterations, int maxEpochs, ShuffleMethod shuffle = ShuffleMethod.EveryEpoch ) : TOutput>.Batches |
Creates a method to partition a given dataset into mini-batches of equal size.
|
public static Create ( Array input, Array output, Array weights = null, int batchSize = 32, int maxIterations, int maxEpochs, ShuffleMethod shuffle = ShuffleMethod.EveryEpoch ) : TOutput>.Batches |
||
input | Array | The input data to be partitioned into mini-batches. |
output | Array | The output data to be partitioned into mini-batches. |
weights | Array | The weights for the data to be partitioned into mini-batches. |
batchSize | int | The size of the batch. |
maxIterations | int | The maximum number of mini-batches that should be created until the method stops. |
maxEpochs | int | The maximum number of epochs that should be run until the method stops. |
shuffle | ShuffleMethod | The data shuffling options. |
return | TOutput>.Batches |