コード例 #1
0
def gincs(wed, y, permutations=999, segment=False):
    if segment:
        # segment wed and y
        # get new wed and extract new y
        raise NotImplementedError

    w = networkw.w_links(wed)
    mi = ps.Moran(y, w, permutations=permutations)
    return mi
コード例 #2
0
ファイル: analytics.py プロジェクト: PepSalehi/pysal
def gincs(wed, y, permutations=999, segment=False):
    if segment:
        # segment wed and y
        # get new wed and extract new y
        raise NotImplementedError

    w = networkw.w_links(wed)
    mi = ps.Moran(y, w, permutations=permutations)
    return mi
コード例 #3
0
def lincs(wed, y, permutations=999, segment=False):
    if segment:
        # segment wed and y
        # get new wed and extract new y
        raise NotImplementedError

    w = networkw.w_links(wed)
    # lisa from PySAL
    lisa = ps.Moran_Local(y, w, permutations=permutations)
    return lisa
コード例 #4
0
ファイル: analytics.py プロジェクト: PepSalehi/pysal
def lincs(wed, y, permutations=999, segment=False):
    if segment:
        # segment wed and y
        # get new wed and extract new y
        raise NotImplementedError

    w = networkw.w_links(wed)
    # lisa from PySAL
    lisa = ps.Moran_Local(y, w, permutations=permutations)
    return lisa
コード例 #5
0
 def w_links(self):
     return networkw.w_links(self)
コード例 #6
0
ファイル: data.py プロジェクト: PepSalehi/pysal
 def w_links(self):
     return networkw.w_links(self)