Constructor
new BinaryNeuralNetworkClassifier(settings)
Constructor of the class.
Parameters:
Name | Type | Description |
---|---|---|
settings |
Object | Settings for the instance. |
Methods
addTrainer(label)
If a trainer does not exists for a label, create it.
Parameters:
Name | Type | Description |
---|---|---|
label |
* |
classify(sample) → {Object}
Given a sample, return the classification.
Parameters:
Name | Type | Description |
---|---|---|
sample |
Object | Input sample. |
Returns:
Classification output.
- Type
- Object
trainBatch(dataset)
Train the classifier given a dataset.
Parameters:
Name | Type | Description |
---|---|---|
dataset |
Object | Dataset with features and outputs. |