def load_data(): train = numpy.loadtxt(open("D:\\dev_src\\python\\weibo_keywords\\extra_dict\\word_feature_train.csv", "rb"), delimiter=",", skiprows=0) test = numpy.loadtxt(open("D:\\dev_src\\python\\weibo_keywords\\extra_dict\\word_feature_test.csv", "rb"), delimiter=",", skiprows=0) train_x = train[:,0:2] train_y = train[:,2]