opencvd ~master (2021-10-31T03:12:58.3715221)
Dub
Repo
SVM.trainAuto
opencvd
ml
SVM
Undocumented in source. Be warned that the author may not have intended to support it.
struct
SVM
bool
trainAuto
(
Mat
samples
,
int
layout
,
Mat
responses
,
int
kFold
= 10
,
ParamGrid
Cgrid
=
SVM.getDefaultGridPtr
(
SVM.C
)
,
ParamGrid
gammaGrid
=
SVM.getDefaultGridPtr
(
SVM.GAMMA
)
,
ParamGrid
pGrid
=
SVM.getDefaultGridPtr
(
SVM.P
)
,
ParamGrid
nuGrid
=
SVM.getDefaultGridPtr
(
SVM.NU
)
,
ParamGrid
coeffGrid
=
SVM.getDefaultGridPtr
(
SVM.COEF
)
,
ParamGrid
degreeGrid
=
SVM.getDefaultGridPtr
(
SVM.DEGREE
)
,
bool
balanced
= false
)
Meta
Source
See Implementation
opencvd
ml
SVM
enums
C
CUSTOM
C_SVC
functions
getC
getClassWeights
getCoef0
getDecisionFunction
getDegree
getGamma
getKernelType
getNu
getP
getSupportVectors
getTermCriteria
getType
getUncompressedSupportVectors
setC
setClassWeights
setCoef0
setDegree
setGamma
setKernel
setNu
setP
setTermCriteria
setType
trainAuto
static functions
create
getDefaultGridPtr
opCall
variables
p