diff options
| -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 |
