auto *other_rt = new redis_stat_runtime<float>(ctx, task, object_expanded);
other_rt->id = other_id;
other_rt->stcf = other_stcf;
+ other_rt->need_redis_call = false;
other_rt->save_in_mempool(other_label);
msg_debug_bayes("additional runtime: statfile %s (class=%s) → id=%d",
other_stcf->symbol, other_label, other_id);
/* Find maximum for numerical stability */
for (i = 0; i < cl.num_classes; i++) {
+ msg_debug_bayes("class %s, log_prob: %.2f", cl.class_names[i], cl.class_log_probs[i]);
if (cl.class_log_probs[i] > max_log_prob) {
max_log_prob = cl.class_log_probs[i];
winning_class_idx = i;
skip_threshold = 0.95;
}
- # Standard configuration
- min_learns = 10;
- min_tokens = 11;
+ min_learns = 1;
+ min_tokens = 1;
min_prob_strength = 0.05;
{% if env.STATS_PER_USER ~= '' %}