def get_data(data_path):
    mm_sim_dict = get_mirna_sim()
    dd_sim_dict = get_disease_sim()
    total_sample = []
    Label = []
    with open(data_path) as f:
        for line in f:
            item = line.strip().split('\t')
            mirna = int(item[0])
            disease = int(item[1])
            label = int(item[2])
            Label.append(label)
            mirna_ver = (mm_sim_dict[mirna] + mirna_data_dict[mirna].tolist())
            disease_ver = (dd_sim_dict[disease] + disease_data_dict[disease].tolist())
            ver = (mirna_ver + disease_ver)
            total_sample.append(ver)
    total_sample.reverse()
    Label.reverse()
    return (total_sample, Label)
def get_data(data_path):
    mm_sim_dict = get_mirna_sim()
    dd_sim_dict = get_disease_sim()
    total_sample = []
    Label = []
    with open(data_path) as f:
        for line in f:
            item = line.strip().split('\t')
            mirna = int(item[0])
            disease = int(item[1])
            label = int(item[2])
            Label.append(label)
            mirna_ver = (mm_sim_dict[mirna] + mirna_data_dict[mirna].tolist())
            disease_ver = (dd_sim_dict[disease] + disease_data_dict[disease].tolist())
            ver = (mirna_ver + disease_ver)
            total_sample.append(ver)
    total_sample.reverse()
    Label.reverse()
    return (total_sample, Label)