Gradient Boost Training
I was trying train the gradient boost using opencv java api 2.4.6. I can not find any working example for this. Currently I am doing
cvGBTrees.train(dataMat, 1, resultMat);
where dataMat
is 170 X 225 dimension matrix and resultMat
is a 170 X 1 dimension matrix. I have 3 class. So each entry of resultMat contains 1, 2 or 3. This method works ok but I want to use this method.
cvGBTrees.train(trainData, tflag, responses, varIdx, sampleIdx, varType, missingDataMask, params, update)
But I do not understand what the other parameters do and the official documentation is not much of a help. I can use some explanation here. Sorry if I am doing anything wrong as I am extremely new to OpenCv.
Thanks.