Created
January 13, 2017 13:30
-
-
Save jcbozonier/2e384658bb965e0dcd5bf5035c3186f6 to your computer and use it in GitHub Desktop.
Hypothesis Enumeration
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
# Come up with a hypothesis for each parameter | |
a_hypotheses = np.array([-4,-3,-2,-1]) | |
h_hypotheses = np.array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]) | |
k_hypotheses = np.array([18000, 20000, 23000, 25000, 26000, 28000, 30000]) | |
sigma_hypotheses = np.array([5, 10, 15, 20, 25]) | |
# Create list of every possible combination of them. | |
hypotheses = list(itertools.product(a_hypotheses, h_hypotheses, k_hypotheses, sigma_hypotheses)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment