diff --git a/requirements.txt b/requirements.txt index f954975..34cab2f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,22 +1,22 @@ -cycler==0.11.0 -fonttools==4.33.1 -joblib==1.2.0 -kiwisolver==1.4.2 -llvmlite==0.38.0 -matplotlib==3.5.1 -numba==0.55.1 -numpy==1.22.0 -packaging==21.3 -pandas==1.3.5 -Pillow==10.0.1 -pyparsing==3.0.8 +cycler==0.12.1 +fonttools==4.45.0 +joblib==1.3.2 +kiwisolver==1.4.5 +llvmlite==0.41.1 +matplotlib==3.8.2 +numba==0.58.1 +numpy==1.26.2 +packaging==23.2 +pandas==2.1.3 +Pillow==10.1.0 +pyparsing==3.1.1 python-dateutil==2.8.2 -pytz==2022.1 -scikit-learn==1.0.2 -scipy==1.10.0 -seaborn==0.11.2 +pytz==2023.3.post1 +scikit-learn==1.3.2 +scipy==1.11.4 +seaborn==0.13.0 six==1.16.0 -threadpoolctl==3.1.0 -torch==1.13.1 -tqdm==4.64.0 -typing_extensions==4.2.0 +threadpoolctl==3.2.0 +torch==2.1.1 +tqdm==4.66.1 +typing_extensions==4.8.0 diff --git a/src/Impression.py b/src/Impression.py index ec6cf76..7158c6e 100644 --- a/src/Impression.py +++ b/src/Impression.py @@ -14,8 +14,8 @@ class ImpressionOpportunity: estimated_CTR: np.float32 price: np.float32 second_price: np.float32 - outcome: np.bool - won: np.bool + outcome: bool + won: bool def set_true_CTR(self, best_expected_value, true_CTR): self.best_expected_value = best_expected_value # Best possible CTR (to compute regret from ad allocation)