diff options
| author | Bobby <[email protected]> | 2022-12-04 00:31:09 -0500 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-12-04 00:31:09 -0500 |
| commit | 6c4431b68b3accd51bc32b98a828d1b149213d85 (patch) | |
| tree | dacf3287502cc4ae7a24f7665a58f9cbf10063e7 /src | |
| parent | a087a7df5cf1ee8e5b73be16e7272a2eed210b20 (diff) | |
| download | RedditEngagementPrediction-6c4431b68b3accd51bc32b98a828d1b149213d85.tar.xz RedditEngagementPrediction-6c4431b68b3accd51bc32b98a828d1b149213d85.zip | |
removed print statements
Diffstat (limited to 'src')
| -rw-r--r-- | src/helpers/preprocessor.py | 2 | ||||
| -rw-r--r-- | src/windows/predict.py | 1 |
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 |
