Skip to content

Commit 8239299

Browse files
authored
Update MCAP_logistic_regression.py
1 parent 0863761 commit 8239299

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MCAP_logistic_regression.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
epochs = 200
1414

1515
# Defining the list of path where all the test data files are stored.
16-
filePaths = (list(paths.list_files("enron1/test/ham")) + list(paths.list_files("enron4/test/ham")) + list(paths.list_files("hw1/test/ham"))
17-
+ list(paths.list_files("enron1/test/spam")) + list(paths.list_files("enron4/test/spam")) + list(paths.list_files("hw1/test/spam")))
16+
filePaths = (list(paths.list_files("Datasets/enron1/test/ham")) + list(paths.list_files("Datasets/enron4/test/ham")) + list(paths.list_files("Datasets/hw1/test/ham"))
17+
+ list(paths.list_files("Datasets/enron1/test/spam")) + list(paths.list_files("Datasets/enron4/test/spam")) + list(paths.list_files("Datasets/hw1/test/spam")))
1818

1919

2020
# Function to load the bag of words data from the Bag_of_words.py file and for splitting the data in the 70/30.

0 commit comments

Comments
 (0)