Skip to content
New issue

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

Allow overriding accuracy metric #264

Open
cancan101 opened this issue May 12, 2016 · 1 comment
Open

Allow overriding accuracy metric #264

cancan101 opened this issue May 12, 2016 · 1 comment

Comments

@cancan101
Copy link
Contributor

cancan101 commented May 12, 2016

Right now accuracy (used in non-regression fits) is hard coded to be:

predict = predict_proba.argmax(axis=1)
accuracy = T.mean(T.eq(predict, y_batch))
@dnouri
Copy link
Owner

dnouri commented May 12, 2016

It seems pretty damn useful for classification fits. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants