From 85c735d79e2f9c49c8ca1ee29983ceef38bccc3f Mon Sep 17 00:00:00 2001 From: Expertium <83031600+Expertium@users.noreply.github.com> Date: Mon, 23 Dec 2024 22:46:00 +0300 Subject: [PATCH] Updated max. sample size --- src/optimal_retention.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/optimal_retention.rs b/src/optimal_retention.rs index cd1655f..03b034a 100644 --- a/src/optimal_retention.rs +++ b/src/optimal_retention.rs @@ -425,7 +425,7 @@ impl FSRS { let default_sample_size = 16.0; let sample_size = match config.learn_span { - ..=30 => 180, + ..=30 => 256, 31..365 => { let (a1, a2, a3) = (-3.56e-6, 4.19e-3, -6.41e-2); let factor = (config.learn_span as f32)