load.py
def load_Xdi(index=0, mode="train", folder="../data"):
    """
    Loads the sequence files assembled into di-nucleotides
    """
    X = load_X(index, mode, folder)
    Xdi = np.zeros_like(X)

    for i, x in enumerate(X):
        chain = []
        for j in range(len(x) - 1):
            chain.append(DINUCLEOTIDES[x[j:j + 2]])
        Xdi[i] = "".join(chain)
        
    return Xdi

    Loads the sequence files assembled into di-nucleotides
    
Loads the sequence files assembled into di-nucleotides
Loads the sequence files assembled into di - nucleotides
def load_Xdi(index=0, mode="train", folder="../data"):
    X = load_X(index, mode, folder)
    Xdi = np.zeros_like(X)
    for i, x in enumerate(X):
        chain = []
        for j in range(len(x) - 1):
            chain.append(DINUCLEOTIDES[x[j:j + 2]])
        Xdi[i] = "".join(chain)
    return Xdi
def load_Xdi ( index = 0 , mode = "train" , folder = "../data" ) : X = load_X ( index , mode , folder ) Xdi = np . zeros_like ( X ) for i , x in enumerate ( X ) : chain = [ ] for j in range ( len ( x ) - 1 ) : chain . append ( DINUCLEOTIDES [ x [ j : j + 2 ] ] ) Xdi [ i ] = "" . join ( chain ) return Xdi
Loads the sequence files assembled into di-nucleotides
Loads the sequence files assembled into di - nucleotides
"""
    Loads the sequence files assembled into di-nucleotides
    """
index
mode
folder