Commit e07dedee by qinjiaxin

路径

parent 89b7a942
......@@ -65,9 +65,8 @@ def fit_and_predicted_use_CV(x_path, y_path, test_x, penalty='l2', solver='lbfgs
def main(test_x):
path = os.path.abspath(sys.argv[0])
print path
corpus = split_data_with_label('path/../thu_data_all2.txt')
path = os.path.abspath('thu_data_all2.txt')
corpus = split_data_with_label(path)
input_x, y = corpus
count_vec = feature_extractor()
train_x = count_vec.fit_transform(input_x)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment