Last active
May 13, 2018 19:17
-
-
Save ronzillia/609e1a39c31c39cc5fbfd2152f5f1788 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# after the whole epoch | |
tp=conf_mtx[1][1] | |
fp=conf_mtx[0][1] | |
tn=conf_mtx[0][0] | |
fn=conf_mtx[1][0] | |
precision=np.truediv(tp,tp+fp) | |
recall=np.true_divide(tp,tp +fn) | |
tn_rate=np.true_divide(tn,tn+fp) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment