-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prediction runs both locally and via S3 #236
Conversation
Signed-off-by: Ahmed Sheta <[email protected]>
Signed-off-by: Ahmed Sheta <[email protected]>
Signed-off-by: Ahmed Sheta <[email protected]>
… Merchant Size Prediction Signed-off-by: Ahmed Sheta <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far, I will try it out tomorrow. Once that is done, I will approve the PR👍
One thing I noticed is that you use if S3_bool:
/ else:
quite often. I think it would be cleaner to have that logic in the database abstraction layer instead. However, due to the time constraints and because it will not impact our ability to demo the software in any way, I would suggest to just leave it like that.
Signed-off-by: Ahmed Sheta <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a question for understanding why we don't use the 100k file for prediction? Is it because the leads/enriched.csv
didnt have merchant sizes before?
Signed-off-by: Lucca Baumgärtner <[email protected]>
Signed-off-by: Lucca Baumgärtner <[email protected]>
Signed-off-by: Lucca Baumgärtner <[email protected]>
I've added some minor changes to improve the stability of running the merchant size prediciton locally |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine by me
Now Merchant Size Prediction works both locally and via S3
Note: Due to shortage of time, please feel free to modify right away!