aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-12-04 00:31:09 -0500
committerBobby <[email protected]>2022-12-04 00:31:09 -0500
commit6c4431b68b3accd51bc32b98a828d1b149213d85 (patch)
treedacf3287502cc4ae7a24f7665a58f9cbf10063e7
parenta087a7df5cf1ee8e5b73be16e7272a2eed210b20 (diff)
downloadRedditEngagementPrediction-6c4431b68b3accd51bc32b98a828d1b149213d85.tar.xz
RedditEngagementPrediction-6c4431b68b3accd51bc32b98a828d1b149213d85.zip
removed print statements
-rw-r--r--src/helpers/preprocessor.py2
-rw-r--r--src/windows/predict.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/helpers/preprocessor.py b/src/helpers/preprocessor.py
index c2e138b..d358d69 100644
--- a/src/helpers/preprocessor.py
+++ b/src/helpers/preprocessor.py
@@ -33,7 +33,7 @@ class Preprocessor:
self.df[col] = self.df[col].astype(str)
# Check for title duplicates
- print('Duplicate titles: {}'.format(self.df['title'].duplicated().sum()))
+ # print('Duplicate titles: {}'.format(self.df['title'].duplicated().sum()))
# Same post data can be repeated from the API -Delete titles that appear more than once
self.df.drop_duplicates(subset=['title'], keep='first', inplace=True)
diff --git a/src/windows/predict.py b/src/windows/predict.py
index 0783d14..f1dc37f 100644
--- a/src/windows/predict.py
+++ b/src/windows/predict.py
@@ -127,7 +127,6 @@ class Predict(customtkinter.CTkToplevel):
ups_bias = ups_best_time / ups
- print(ups, ups_bias)
num_comments_bias = num_comments_best_time / num_comments
ups = ups * ups_bias