Type Definition opencv::types::PtrOfSVMSGD

source · []
pub type PtrOfSVMSGD = Ptr<dyn SVMSGD>;

Implementations

Trait Implementations

Clears the algorithm state

Reads algorithm parameters from a file storage

Stores algorithm parameters in a file storage

simplified API for language bindings Stores algorithm parameters in a file storage Read more

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more

Returns Read more

Returns Read more

Function sets optimal parameters values for chosen SVM SGD model. Read more

%Algorithm type, one of SVMSGD::SvmsgdType. Read more

%Margin type, one of SVMSGD::MarginType. Read more

Parameter marginRegularization of a %SVMSGD optimization problem. Read more

Parameter initialStepSize of a %SVMSGD optimization problem. Read more

Parameter stepDecreasingPower of a %SVMSGD optimization problem. Read more

Termination criteria of the training algorithm. You can specify the maximum number of iterations (maxCount) and/or how much the error could change between the iterations to make the algorithm continue (epsilon). Read more

%Algorithm type, one of SVMSGD::SvmsgdType. Read more

%Margin type, one of SVMSGD::MarginType. Read more

Parameter marginRegularization of a %SVMSGD optimization problem. Read more

Parameter initialStepSize of a %SVMSGD optimization problem. Read more

Parameter stepDecreasingPower of a %SVMSGD optimization problem. Read more

Termination criteria of the training algorithm. You can specify the maximum number of iterations (maxCount) and/or how much the error could change between the iterations to make the algorithm continue (epsilon). Read more

Trains the statistical model Read more

Trains the statistical model Read more

Returns the number of variables in training samples

Returns true if the model is trained

Returns true if the model is classifier

Computes error on the training or test dataset Read more

Predicts response(s) for the provided sample(s) Read more