yitingliii commited on
Commit
16a82d8
1 Parent(s): 959959a

Update tfidf.py

Browse files
Files changed (1) hide show
  1. tfidf.py +2 -3
tfidf.py CHANGED
@@ -1,7 +1,6 @@
1
  import pandas as pd
2
- file_path = '/content/drive/My Drive/CIS 519 Final Project/Dataset/cleaned_headlines.csv'
3
- df = pd.read_csv(file_path)
4
- df
5
  from sklearn.model_selection import train_test_split
6
  X = df['title']
7
  y = df['labels']
 
1
  import pandas as pd
2
+ df = pd.read_csv("hf://datasets/CIS5190abcd/headlines_train/train_cleaned_headlines.csv")
3
+
 
4
  from sklearn.model_selection import train_test_split
5
  X = df['title']
6
  y = df['labels']