Ask Your Question

BY's profile - activity

2015-10-20 03:28:52 -0600 received badge  Editor (source)
2015-10-20 03:08:04 -0600 commented question Recommended values for OpenCV RTrees parameters

model->setCalculateVarImportance(true); Mat var_importance = model->getVarImportance(); //each element of var_importance always have the same value

2015-10-20 03:04:34 -0600 answered a question Recommended values for OpenCV RTrees parameters

model->setCalculateVarImportance(true);

Mat var_importance = model->getVarImportance();

each element of var_importance always have the same value

2015-10-18 14:52:55 -0600 asked a question Why each element of the var_importance have the same value ? letter_recog.cpp opencv3.0 gold

Getting output after compiling letter-recognition.cpp of sample code:

The database ./letter-recognition.data is loaded.

Training the classifier ..

Recognition rate: train = 86.2%, test = 82.0%

Number of trees: 100

var# importance (in %):

0 6.3

1 6.3

2 6.3

3 6.3

4 6.3

5 6.3

6 6.3

....

`model->setCalculateVarImportance(true);

Mat var_importance = model->getVarImportance(); `

image description