Commit 501e81eb authored by P. Druzhkov's avatar P. Druzhkov

fix gbtrees test

parent 969b9fb8
...@@ -44,7 +44,7 @@ int _get_len(const CvMat* mat) ...@@ -44,7 +44,7 @@ int _get_len(const CvMat* mat)
CV_GBTreesTest::CV_GBTreesTest() : CV_GBTreesTest::CV_GBTreesTest() :
CvTest( "CvGBTrees_test", CvTest( "gbtrees",
"all public methods (train, predict, save, load)" ) "all public methods (train, predict, save, load)" )
{ {
datasets = 0; datasets = 0;
...@@ -140,8 +140,8 @@ int CV_GBTreesTest::checkPredictError(int test_num) ...@@ -140,8 +140,8 @@ int CV_GBTreesTest::checkPredictError(int test_num)
if (!gtb) if (!gtb)
return CvTS::FAIL_GENERIC; return CvTS::FAIL_GENERIC;
float mean[] = {5.3555f, 11.2241f, 11.9212f, 12.0848f}; float mean[] = {5.430247f, 13.5654f, 12.6569f, 13.1661f};
float sigma[] = {0.362127f, 3.4906f, 3.4906f, 3.64994f}; float sigma[] = {0.4162694f, 3.21161f, 3.43297f, 3.00624f};
float current_error = gtb->calc_error(data, CV_TEST_ERROR); float current_error = gtb->calc_error(data, CV_TEST_ERROR);
......
...@@ -48,7 +48,6 @@ const char* blacklist[] = ...@@ -48,7 +48,6 @@ const char* blacklist[] =
"kmeans", //ticket 616 "kmeans", //ticket 616
"artrees", //ticket 460 "artrees", //ticket 460
"aboost", //ticket 474 "aboost", //ticket 474
"CvGBTrees_test", //ticket 630
0 0
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment