From cf411d60250bb2dbd17c0031652090ce62d20c1d Mon Sep 17 00:00:00 2001 From: Ali Al-Dhamen <93004494+Ali-AlDhamen@users.noreply.github.com> Date: Sat, 1 Apr 2023 13:25:13 +0300 Subject: [PATCH] Update example_weights.py better --- .../scripts/models/earlybird/example_weights.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/python/twitter/deepbird/projects/timelines/scripts/models/earlybird/example_weights.py b/src/python/twitter/deepbird/projects/timelines/scripts/models/earlybird/example_weights.py index cf0c38ecc..e243134ca 100644 --- a/src/python/twitter/deepbird/projects/timelines/scripts/models/earlybird/example_weights.py +++ b/src/python/twitter/deepbird/projects/timelines/scripts/models/earlybird/example_weights.py @@ -5,13 +5,14 @@ from .constants import INDEX_BY_LABEL, LABEL_NAMES # TODO: Read these from command line arguments, since they specify the existing example weights in the input data. DEFAULT_WEIGHT_BY_LABEL = { "is_clicked": 0.3, - "is_favorited": 1.0, - "is_open_linked": 0.1, - "is_photo_expanded": 0.03, + "is_favorited": 1.1, + "is_open_linked": 0.2, + "is_photo_expanded": 0.1, "is_profile_clicked": 1.0, - "is_replied": 9.0, - "is_retweeted": 1.0, - "is_video_playback_50": 0.01 + "is_replied": 10.0, + "is_retweeted": 1.5, + "is_video_playback_50": 0.05, + "is_tweet_bookmarked": 1 } def add_weight_arguments(parser):