We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I might be wrong, but this line doesn't seem to be setting the right elements of perClass to 1.
GURLS/gurls++/include/gurls++/macroavg.h
Line 312 in d9d0d31
I suggest to do:
if (*den == 0.0) { // Set accuracy =1 on classes with no sampless perClass[i] = (T)1.0; } else { perClass[i] = ((T)(*num))/((*den) + std::numeric_limits<T>::epsilon()); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I might be wrong, but this line doesn't seem to be setting the right elements of perClass to 1.
GURLS/gurls++/include/gurls++/macroavg.h
Line 312 in d9d0d31
I suggest to do:
The text was updated successfully, but these errors were encountered: