Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)

src/p/y/PySurvey-0.1.2/pysurvey/sandbox/network_methods.py   PySurvey(Download)
    Categories are +,0,- , rows are categories in net1, cols are in net2.
    '''
    from DataStructures.MyDataMatrix import MyDataMatrix as DM
    from itertools import combinations
    nodes1  = net1.nodes()
        categories = ['P','N']
    k = len(categories)
    confuse = DM(np.zeros( (k,k) ), index=categories, columns=categories)
    for pair in combinations(nodes_all,2):
        n1,n2 = pair
#    
if __name__ == '__main__':
    from DataStructures.MyDataMatrix import MyDataMatrix as DM
    path = '/Users/jonathanfriedman/Documents/Alm/enterotype/correlations/'
    file = 'SparCC_with_pseudo_xiter_0_minpresent_3.pick'