Training set for sequences.
TrainingSet
01 Syntax
Microsoft.VisualBasic.MachineLearning.RNN.TrainingSet
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| extract | 1 | Extracts a training pair starting at the given position. |
| size | 1 | Returns the data size. |
| vocabularySize | 1 | Returns the vocabulary size. |
03 Members
extract(
Int32, Int32(), Int32())Extracts a training pair starting at the given position.
Parameters
| Name | Type | Description |
|---|---|---|
lowerBound | Int32 | Index of the first symbol of the sequence. |
ix | Int32() | Receives the input sequence indices. |
iy | Int32() | Receives the expected output sequence indices, shifted by one symbol. |
size
Returns the data size.
Returns
The number of symbols in the training data.
vocabularySize
Returns the vocabulary size.
Returns
The maximum index plus one.