enum cv::ml::SVMSGD::MarginType

Overview

Margin type. Moreā€¦

#include <ml.hpp>

enum MarginType
{
    SOFT_MARGIN,
    HARD_MARGIN,
};

Detailed Documentation

Margin type.

Enum Values

SOFT_MARGIN

General case, suits to the case of non-linearly separable sets, allows outliers.

HARD_MARGIN

More accurate for the case of linearly separable sets.