From ffd7d43abf69e5a7f91b8a29b86bc3dcd4d6c4a1 Mon Sep 17 00:00:00 2001 From: Alexey Taymanov Date: Thu, 7 Mar 2024 09:41:01 -0500 Subject: [PATCH] forgotten space --- vowpalwabbit/core/src/reductions/active.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vowpalwabbit/core/src/reductions/active.cc b/vowpalwabbit/core/src/reductions/active.cc index 694e462195c..b41717a60df 100644 --- a/vowpalwabbit/core/src/reductions/active.cc +++ b/vowpalwabbit/core/src/reductions/active.cc @@ -74,7 +74,7 @@ float query_decision(const active& a, float updates_to_change_prediction, float // const auto weighted_queries = static_cast(a._shared_data->weighted_labeled_examples); const float avg_loss = (static_cast(a._shared_data->sum_loss) / example_count); //+ std::sqrt((1.f + 0.5f * std::log(example_count)) / (weighted_queries + 0.0001f)); Commented this out, not - //following why we need it from the theory. + // following why we need it from the theory. // std::cout << "avg_loss = " << avg_loss << " weighted_queries = " << weighted_queries << " sum_loss = " << // a._shared_data->sum_loss << " example_count = " << example_count << std::endl; bias = get_active_coin_bias(example_count, avg_loss, updates_to_change_prediction / example_count, a.active_c0);