- Source:
Methods
(static) dataIsArray(data)
Parameters:
Name | Type | Description |
---|---|---|
data |
array | The training data set. |
- Source:
(static) dataIsNotEmpty(data)
Parameters:
Name | Type | Description |
---|---|---|
data |
array | The training data set. |
- Source:
(static) sampleHasInput(sample, i)
Parameters:
Name | Type | Description |
---|---|---|
sample |
Object | A single object from a training data set. |
i |
number | The index of the sample in the training set. |
- Source:
(static) sampleHasOutput(sample, i)
Parameters:
Name | Type | Description |
---|---|---|
sample |
Object | A single object from a training data set. |
i |
number | The index of the sample in the training set. |
- Source:
(static) sampleInputFitsNetwork(sample, i, network)
Parameters:
Name | Type | Description |
---|---|---|
sample |
Object | A single object from a training data set. |
i |
number | The index of the sample in the training set. |
network |
Network | The Network to be trained on the training data set. |
- Source:
(static) sampleInputIsNotEmpty(sample, i)
Parameters:
Name | Type | Description |
---|---|---|
sample |
Object | A single object from a training data set. |
i |
number | The index of the sample in the training set. |
- Source:
(static) sampleInputIsOnlyNumbers(sample, i)
Parameters:
Name | Type | Description |
---|---|---|
sample |
Object | A single object from a training data set. |
i |
number | The index of the sample in the training set. |
- Source:
(static) sampleIsObject(sample, i)
Parameters:
Name | Type | Description |
---|---|---|
sample |
Object | A single object from a training data set. |
i |
number | The index of the sample in the training set. |
- Source:
(static) sampleOutputFitsNetwork(sample, i, network)
Parameters:
Name | Type | Description |
---|---|---|
sample |
Object | A single object from a training data set. |
i |
number | The index of the sample in the training set. |
network |
Network | The Network to be trained on the training data set. |
- Source:
(static) sampleOutputIsNotEmpty(sample, i)
Parameters:
Name | Type | Description |
---|---|---|
sample |
Object | A single object from a training data set. |
i |
number | The index of the sample in the training set. |
- Source:
(static) sampleOutputIsOnlyNumbers(sample, i)
Parameters:
Name | Type | Description |
---|---|---|
sample |
Object | A single object from a training data set. |
i |
number | The index of the sample in the training set. |
- Source:
(static) trainingData(network, data)
Ensures that a training set in valid form.
Ensures that a training set in valid form.
Parameters:
Name | Type | Description |
---|---|---|
network |
Network | The Network to be trained. |
data |
Array.<object> | The data set to train the Network on. |
- Source: