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

feat: direct interface for active.cc and variable rename for understandability #4671

Merged
merged 11 commits into from
Mar 7, 2024

Conversation

beygel
Copy link
Contributor

@beygel beygel commented Nov 29, 2023

No description provided.

@beygel beygel changed the title direct interface for active.cc and variable rename for understandability feat: direct interface for active.cc and variable rename for understandability Nov 29, 2023
std::cout << "query, threshold = " << threshold << " label = " << ec.l.simple.label << " prediction = " << ec.pred.scalar << " confidence = " << ec.confidence << " wue = " << a._shared_data->weighted_unlabeled_examples << std::endl;
ec.l.simple.label = FLT_MAX;
ec.pred.scalar = query_decision(a, ec.confidence, static_cast<float>(a._shared_data->weighted_unlabeled_examples));
std::cout << "query decision = " << ec.pred.scalar << std::endl;
Copy link
Member

Choose a reason for hiding this comment

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

Let me double check my understanding: these prints are not diagnostic logs but essential output for this mode, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They were diagnostic logs. I've just removed them, triggering an update to the pull request. Can you please take a look now? Thanks.

@ataymano ataymano merged commit 80e832f into VowpalWabbit:master Mar 7, 2024
114 of 116 checks passed
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.

2 participants