Skip to content

Commit 1e76e72

Browse files
authored
Fix/make options of find optimal retention obvious (#599)
1 parent 51f0b7b commit 1e76e72

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

fsrs4anki_optimizer.ipynb

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"cell_type": "markdown",
66
"metadata": {},
77
"source": [
8-
"# FSRS4Anki v4.12.0 Optimizer\n",
8+
"# FSRS4Anki v4.12.1 Optimizer\n",
99
"\n",
10-
"[![open in colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/open-spaced-repetition/fsrs4anki/blob/v4.12.0/fsrs4anki_optimizer.ipynb)\n",
10+
"[![open in colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/open-spaced-repetition/fsrs4anki/blob/v4.12.1/fsrs4anki_optimizer.ipynb)\n",
1111
"\n",
1212
"↑ Click the above button to open the optimizer on Google Colab.\n",
1313
"\n",
@@ -738,7 +738,13 @@
738738
}
739739
],
740740
"source": [
741-
"figs = optimizer.find_optimal_retention()"
741+
"figs = optimizer.find_optimal_retention(\n",
742+
" deck_size=10000, # number of cards to learn\n",
743+
" learn_span=365, # days to learn\n",
744+
" max_cost_perday=1800, # seconds to review and learn per day\n",
745+
" max_ivl=36500, # days\n",
746+
" loss_aversion=2.5, # forget cost is multiplied by this factor to simulate loss aversion\n",
747+
")"
742748
]
743749
},
744750
{

0 commit comments

Comments
 (0)