Skip to content

Instantly share code, notes, and snippets.

@andilabs
Created September 15, 2013 15:54
Show Gist options
  • Save andilabs/6571955 to your computer and use it in GitHub Desktop.
Save andilabs/6571955 to your computer and use it in GitHub Desktop.
10c experiment subset
from numpy import arange
from scipy import stats
l=arange(0.25,1.01,0.25)# l=arange(0.1,1,0.1)
print l
import itertools as it
pr=it.product(l,repeat=6)
l2=list(pr)
# for i in pr:
# l2.append(i)
print len(l2)
foo=[(fu,fn,uf,un,nf,nu) for fu,fn,uf,un,nf,nu in l2 if fu<=fn and nf>=nu]
print len(foo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment