Created
May 13, 2016 12:32
-
-
Save tclv/720c8f5bfe5e0bbce37b748fb031d0d7 to your computer and use it in GitHub Desktop.
This file contains 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
diff = np.zeros((len(var),)) | |
for i in range(len(var)): | |
assert len(test_outputs[i, :]) == window_size | |
(test_pass, no_diff) = testmod.kupiec(test_outputs[i, :], var[i]) | |
diff[i] = no_diff | |
print(no_diff) | |
print("Mean diff {}".format(np.mean(np.abs(diff)))) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment