Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduction
Function
It outputs the simulated knowledge retention for given model parameters, request retention and other simulator configuration.
It outputs the optimal retention to maximize the simulated knowledge retention.
Structure
w
is the weights of FSRS.deck_size
is the size of deck for simulation.learn_span
is the number of days for simulation. For example,learn_span=365
means the user has a deadline in one year.max_cost_perday
is the cost limit for one day's learning (in seconds). For example,max_cost_perday=1800
means the user spends 30 minutes doing reviews every day.max_ivl
is the maximum interval.recall_cost
is the cost for a successful review (in seconds).forget_cost
is the cost for a failed review (in seconds). It includes the time spent in review stage and relearning stage.learn_cost
is the cost for learning a new cards (in seconds).