Result : Mat
trainAuto ( trainData : TrainData , kFold : uint = 10 , cGrid : ParamGrid = ParamGrid(ml.SVM.C) , gammaGrid : ParamGrid = ParamGrid(ml.SVM.GAMMA) , pGrid : ParamGrid = ParamGrid(ml.SVM.P) , nuGrid : ParamGrid = ParamGrid(ml.SVM.NU) , coeffGrid : ParamGrid = ParamGrid(ml.SVM.COEF) , degreeGrid : ParamGrid = ParamGrid(ml.SVM.DEGREE) , balanced : boolean = false ) : Result
trainAutoAsync ( trainData : TrainData , kFold : uint = 10 , cGrid : ParamGrid = ParamGrid(ml.SVM.C) , gammaGrid : ParamGrid = ParamGrid(ml.SVM.GAMMA) , pGrid : ParamGrid = ParamGrid(ml.SVM.P) , nuGrid : ParamGrid = ParamGrid(ml.SVM.NU) , coeffGrid : ParamGrid = ParamGrid(ml.SVM.COEF) , degreeGrid : ParamGrid = ParamGrid(ml.SVM.DEGREE) , balanced : boolean = false ) : Promise < Result >
trainAutoAsync ( trainData : TrainData , kFold : uint = 10 , cGrid : ParamGrid = ParamGrid(ml.SVM.C) , gammaGrid : ParamGrid = ParamGrid(ml.SVM.GAMMA) , pGrid : ParamGrid = ParamGrid(ml.SVM.P) , nuGrid : ParamGrid = ParamGrid(ml.SVM.NU) , coeffGrid : ParamGrid = ParamGrid(ml.SVM.COEF) , degreeGrid : ParamGrid = ParamGrid(ml.SVM.DEGREE) , balanced : boolean = false , ...opts , callback ( err : Error , Result res )) : void