Skip to content
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

Add cold arm definition to MAB object #65

Merged
merged 15 commits into from
Feb 1, 2023
Merged

Add cold arm definition to MAB object #65

merged 15 commits into from
Feb 1, 2023

Conversation

dorukkilitcioglu
Copy link
Contributor

This PR adds cold arm set to the MAB object.

Signed-off-by: Kilitcioglu, Doruk <doruk.kilitcioglu@fmr.com>
skadio
skadio previously approved these changes Jan 24, 2023
Copy link
Contributor

@skadio skadio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one learning question and one design question

tests/test_mab.py Outdated Show resolved Hide resolved
mabwiser/_version.py Outdated Show resolved Hide resolved
Signed-off-by: Kilitcioglu, Doruk <doruk.kilitcioglu@fmr.com>
Signed-off-by: Kilitcioglu, Doruk <doruk.kilitcioglu@fmr.com>
Signed-off-by: Kilitcioglu, Doruk <doruk.kilitcioglu@fmr.com>
mabwiser/base_mab.py Outdated Show resolved Hide resolved
dorukkilitcioglu and others added 6 commits January 27, 2023 10:24
Signed-off-by: Kilitcioglu, Doruk <doruk.kilitcioglu@fmr.com>
Signed-off-by: Kleynhans, Bernard <bernard.kleynhans@fmr.com>
Signed-off-by: Kleynhans, Bernard <bernard.kleynhans@fmr.com>
Signed-off-by: Kleynhans, Bernard <bernard.kleynhans@fmr.com>
Signed-off-by: Kleynhans, Bernard <bernard.kleynhans@fmr.com>
@bkleyn bkleyn requested a review from skadio January 31, 2023 21:46
@bkleyn
Copy link
Contributor

bkleyn commented Jan 31, 2023

@skadio I wrapped up the changes from first round review

  • adding arm_to_status in BaseMAB that can be used to easily track if an arm is trained (arm was fit or partial fit), if an arm was warm started, and by what arm it was warm started
  • restricted warm start to Learning Policies as it is not clear how to interpret cold arms for Neighborhood Policies

CHANGELOG.txt Outdated Show resolved Hide resolved
mabwiser/base_mab.py Outdated Show resolved Hide resolved
mabwiser/base_mab.py Outdated Show resolved Hide resolved
mabwiser/base_mab.py Outdated Show resolved Hide resolved
skadio
skadio previously approved these changes Jan 31, 2023
Copy link
Contributor

@skadio skadio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Minor comments

Signed-off-by: Kleynhans, Bernard <bernard.kleynhans@fmr.com>
skadio
skadio previously approved these changes Feb 1, 2023
Copy link
Contributor

@skadio skadio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and really like the idea of "Resolving Thread" as comments are fixed/taken into account. It cleans up the PR view and makes it easier to come back to the same PR for another pass (because now I only see "remaining" things) Good practice to follow in future and distill to the team

Signed-off-by: Kleynhans, Bernard <bernard.kleynhans@fmr.com>
Signed-off-by: Kleynhans, Bernard <bernard.kleynhans@fmr.com>
@bkleyn
Copy link
Contributor

bkleyn commented Feb 1, 2023

@skadio thank you for review! I addressed the final few comments and added some additional tests. I'm going to update the docs and merge.

Signed-off-by: Kleynhans, Bernard <bernard.kleynhans@fmr.com>
Signed-off-by: Kleynhans, Bernard <bernard.kleynhans@fmr.com>
@bkleyn bkleyn self-requested a review February 1, 2023 16:27
@bkleyn bkleyn merged commit 881d0e9 into master Feb 1, 2023
@bkleyn bkleyn deleted the cold_arms branch February 1, 2023 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants