forgot to add change to commit

This commit is contained in:
jakubknczny 2021-05-19 13:43:59 +02:00
parent 35b17f5a44
commit a564abb35a

2
spp.py
View File

@ -44,7 +44,7 @@ labels = np.concatenate((labels1, labels2), axis=0) #todo
lin_reg = LinearRegression()
lin_reg.fit(x, labels)
# ----------------------------------------------------------------------------------------------------------------------
t_df = pd.read_csv('dev-0/in.tsv', sep='\t', names=['text'])
t_df = pd.read_csv('dev-0/in.tsv', sep='\t', names=['text'], quoting=csv.QUOTE_NONE)
tlabs = pd.read_csv('dev-0/expected.tsv', sep='\t', names=['date'])
t_df['text'] = [stem(remove_specials(x.lower())) for x in t_df['text']]