Home > @josh-brown/vector > SupportVectorMachineClassifier > train
Learns the optimal set of parameters for the model.
Signature:
train(data: Matrix, target: Vector): void;
Parameter | Type | Description |
---|---|---|
data | Matrix | A Matrix whose rows are the individual observations in the training set |
target | Vector | A Vector whose entries are the target values in the training set |
Returns:
void