Skip to content

Instantly share code, notes, and snippets.

@jcbozonier
Created January 13, 2017 13:30
Show Gist options
  • Save jcbozonier/2e384658bb965e0dcd5bf5035c3186f6 to your computer and use it in GitHub Desktop.
Save jcbozonier/2e384658bb965e0dcd5bf5035c3186f6 to your computer and use it in GitHub Desktop.
Hypothesis Enumeration
# 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