Table of Contents

Method SetOptimalParameters

Namespace
OpenCvSharp.ML
Assembly
OpenCvSharp.dll

SetOptimalParameters(SvmsgdTypes, MarginTypes)

Function sets optimal parameters values for chosen SVM SGD model.

public void SetOptimalParameters(SVMSGD.SvmsgdTypes svmsgdType = SvmsgdTypes.Asgd, SVMSGD.MarginTypes marginType = MarginTypes.SoftMargin)

Parameters

svmsgdType SVMSGD.SvmsgdTypes

is the type of SVMSGD classifier.

marginType SVMSGD.MarginTypes

is the type of margin constraint.