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

refactor: [all] remove cost_sensitive from workspace #4490

Merged
merged 3 commits into from Feb 7, 2023
Merged

refactor: [all] remove cost_sensitive from workspace #4490

merged 3 commits into from Feb 7, 2023

Conversation

lalo
Copy link
Collaborator

@lalo lalo commented Feb 7, 2023

No description provided.

@lalo lalo marked this pull request as draft February 7, 2023 17:14
@@ -608,6 +609,8 @@ VW::LEARNER::base_learner* VW::reductions::warm_cb_setup(VW::setup_base_i& stack
VW::learner_output_example_prediction_func<warm_cb, VW::example>* output_example_prediction_func = nullptr;
VW::learner_print_update_func<warm_cb, VW::example>* print_update_func = nullptr;

data->cost_sensitive = base->get_learner_by_name_prefix("cs");
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

a bit sketchy that we are leveraging the fact that they all start with the word "cs", in reality this should be augmented into some sort of capability/trait of a reduction

@lalo lalo marked this pull request as ready for review February 7, 2023 19:01
@lalo lalo enabled auto-merge (squash) February 7, 2023 19:23
@lalo lalo merged commit cc782d3 into master Feb 7, 2023
@lalo lalo deleted the costsens branch March 3, 2023 18:49
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.

None yet

4 participants