weights property

Mat get weights

The weights of the trained model (decision function f(x) = weights * x + shift).

Implementation

Mat get weights {
  final rval = Mat.empty();
  cvRun(() => cml.cv_ml_SVMSGD_getWeights(ref, rval.ref));
  return rval;
}