Skip to content

Commit

Permalink
Change the coefficients.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Expertium authored Sep 8, 2024
1 parent 126e0de commit 0e0795f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fsrs_optimizer/fsrs_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def best_sample_size(days_to_simulate):
elif days_to_simulate >= 365:
return 4
else:
factor = 0.00000358 * np.power(days_to_simulate, 2) + 0.00113 * days_to_simulate + 0.0733
factor = 8.54864e-07 * np.power(days_to_simulate, 2) + 2.57563e-03 * days_to_simulate + 1.38928e-02
default_sample_size = 4
return int(default_sample_size/factor)

Expand Down

0 comments on commit 0e0795f

Please sign in to comment.