Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 860 Bytes

vector.supportvectormachineclassifier.train.md

File metadata and controls

25 lines (15 loc) · 860 Bytes

Home > @josh-brown/vector > SupportVectorMachineClassifier > train

SupportVectorMachineClassifier.train() method

Learns the optimal set of parameters for the model.

Signature:

train(data: Matrix, target: Vector): void;

Parameters

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