Commit be927d96 authored by lluis's avatar lluis

Report the total f1 score (0.37) and not the mean-f1. This is in accordance with…

Report the total f1 score (0.37) and not the mean-f1. This is in accordance with the standard SVT evaluation protocol and allows for comparison with other published results.
parent 769d2ada
......@@ -288,18 +288,18 @@ int main(int argc, char *argv[])
f1Each.push_back(f1);
}
/*double p = 1.0*returnedCorrectNum/returnedNum;
double p = 1.0*returnedCorrectNum/returnedNum;
double r = 1.0*returnedCorrectNum/correctNum;
double f1 = 2*(p*r)/(p+r);
printf("f1: %f\n", f1);*/
printf("f1: %f\n", f1);
double f1 = 0.0;
/*double f1 = 0.0;
for (vector<double>::iterator it=f1Each.begin(); it!=f1Each.end(); ++it)
{
f1 += *it;
}
f1 /= f1Each.size();
printf("mean f1: %f\n", f1);
printf("mean f1: %f\n", f1);*/
return 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