KernelTypes
Objective-C
NS_ENUM(int, KernelTypes) {
CUSTOM = -1,
LINEAR = 0,
POLY = 1,
RBF = 2,
SIGMOID = 3,
CHI2 = 4,
INTER = 5
}
Swift
enum KernelTypes : Int32
-
Declaration
Objective-C
CUSTOM = -1
Swift
case CUSTOM = -1
-
Declaration
Objective-C
LINEAR = 0
Swift
case LINEAR = 0
-
Declaration
Objective-C
POLY = 1
Swift
case POLY = 1
-
Declaration
Objective-C
RBF = 2
Swift
case RBF = 2
-
Declaration
Objective-C
SIGMOID = 3
Swift
case SIGMOID = 3
-
Declaration
Objective-C
CHI2 = 4
Swift
case CHI2 = 4
-
Declaration
Objective-C
INTER = 5
Swift
case INTER = 5