Skip to content

Commit

Permalink
Updated max. sample size
Browse files Browse the repository at this point in the history
  • Loading branch information
Expertium authored Dec 23, 2024
1 parent 39ae014 commit 85c735d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/optimal_retention.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ impl<B: Backend> FSRS<B> {

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)
Expand Down

0 comments on commit 85c735d

Please sign in to comment.