From a5559d9f490e429f7f71bec5581acc47c9051afb Mon Sep 17 00:00:00 2001 From: Jarrett Ye Date: Fri, 19 Jul 2024 12:27:53 +0800 Subject: [PATCH] udpate to fsrs-optimizer v5.0.1 (#670) --- fsrs4anki_optimizer.ipynb | 548 +++++++++++++++++++------------------- 1 file changed, 274 insertions(+), 274 deletions(-) diff --git a/fsrs4anki_optimizer.ipynb b/fsrs4anki_optimizer.ipynb index 4808bd5..edbe1ee 100644 --- a/fsrs4anki_optimizer.ipynb +++ b/fsrs4anki_optimizer.ipynb @@ -5,9 +5,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# FSRS4Anki v5.0.0 Optimizer\n", + "# FSRS4Anki v5.0.1 Optimizer\n", "\n", - "[![open in colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/open-spaced-repetition/fsrs4anki/blob/v5.0.0/fsrs4anki_optimizer.ipynb)\n", + "[![open in colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/open-spaced-repetition/fsrs4anki/blob/v5.0.1/fsrs4anki_optimizer.ipynb)\n", "\n", "↑ Click the above button to open the optimizer on Google Colab.\n", "\n", @@ -112,7 +112,7 @@ } ], "source": [ - "%pip install -q fsrs_optimizer==5.0.0\n", + "%pip install -q fsrs_optimizer==5.0.1\n", "# for local development\n", "# import os\n", "# import sys\n", @@ -159,7 +159,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "6e0f28872ffb4f8098f6f8f6d319c33e", + "model_id": "06ed6ea438b1477c8fe8c278918f8c35", "version_major": 2, "version_minor": 0 }, @@ -181,7 +181,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "48e6fd6516854ff88b30874f9f263f25", + "model_id": "bd59b5726ec84449967e906c02278c36", "version_major": 2, "version_minor": 0 }, @@ -202,7 +202,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "29ebf24d1ca247d3b32d274e5b32dd41", + "model_id": "e7f8f1c7801f4ab0bf93450f3ffb2b20", "version_major": 2, "version_minor": 0 }, @@ -300,7 +300,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "2965d631541e4b489ff2b6e3a98c5ac8", + "model_id": "29bf6e6834b34ddc92ae0e27ec9828e1", "version_major": 2, "version_minor": 0 }, @@ -709,7 +709,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "RMSE(bins): 0.0218\n", + "RMSE(bins): 0.0227\n", "R-squared: 0.9776\n", "MAE: 0.0054\n", "ICI: 0.0033\n", @@ -719,7 +719,7 @@ "[0.03471599 0.96297873]\n", "\n", "Last rating: 1\n", - "RMSE(bins): 0.0373\n", + "RMSE(bins): 0.0397\n", "R-squared: 0.6522\n", "MAE: 0.0203\n", "ICI: 0.0190\n", @@ -729,7 +729,7 @@ "[0.2430011 0.71511702]\n", "\n", "Last rating: 2\n", - "RMSE(bins): 0.0622\n", + "RMSE(bins): 0.0639\n", "R-squared: 0.6810\n", "MAE: 0.0428\n", "ICI: 0.0402\n", @@ -739,7 +739,7 @@ "[0.01187443 0.9399894 ]\n", "\n", "Last rating: 3\n", - "RMSE(bins): 0.0265\n", + "RMSE(bins): 0.0262\n", "R-squared: 0.9670\n", "MAE: 0.0109\n", "ICI: 0.0085\n", @@ -749,7 +749,7 @@ "[0.01622674 0.99098918]\n", "\n", "Last rating: 4\n", - "RMSE(bins): 0.0384\n", + "RMSE(bins): 0.0317\n", "R-squared: 0.6164\n", "MAE: 0.0123\n", "ICI: 0.0087\n", @@ -897,229 +897,229 @@ "data": { "text/html": [ "\n", - "\n", + "
\n", " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", " \n", @@ -1137,244 +1137,244 @@ " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", "
d_bin1234567891012345678910
s_bin
0.710000-3.38%0.710000-3.38%
1.0000000.43%2.33%-2.82%1.0000000.43%2.33%-2.82%
1.4000005.78%4.47%-3.11%-2.79%1.4000005.78%4.47%-3.11%-2.79%
1.9600001.73%-5.21%-1.01%-2.49%1.9600001.73%-5.21%-1.01%-2.49%
2.740000-1.66%-1.64%0.51%-1.03%-0.54%2.740000-1.66%-1.64%0.51%-1.03%-0.54%
3.8400000.05%-2.96%-1.84%-0.16%3.8400000.05%-2.96%-1.84%-0.16%
5.3800001.15%3.91%1.76%1.36%1.22%-0.41%5.3800001.15%3.91%1.76%1.36%1.22%-0.41%
7.530000-0.41%-0.45%0.19%3.54%0.61%-1.26%1.19%7.530000-0.41%-0.45%0.19%3.54%0.61%-1.26%1.19%
10.5400000.03%-0.47%-1.48%0.93%3.81%2.92%-0.05%1.70%10.5400000.03%-0.47%-1.48%0.93%3.81%2.92%-0.05%1.70%
14.7600000.70%0.17%-1.15%0.22%1.10%1.72%2.04%0.88%0.13%14.7600000.70%0.17%-1.15%0.22%1.10%1.72%2.04%0.88%0.13%
20.6600000.77%-0.23%-0.35%2.08%-0.54%0.17%3.95%4.22%2.04%-0.11%20.6600000.77%-0.23%-0.35%2.08%-0.54%0.17%3.95%4.22%2.04%-0.11%
28.930000-0.43%-0.51%0.24%-0.15%3.96%1.02%2.23%4.26%28.930000-0.43%-0.51%0.24%-0.15%3.96%1.02%2.23%4.26%
40.500000-1.12%1.94%3.19%2.39%1.05%1.00%-0.34%0.16%40.500000-1.12%1.94%3.19%2.39%1.05%1.00%-0.34%0.16%
56.690000-1.00%-1.53%0.39%-0.67%-0.87%3.47%-0.85%5.78%56.690000-1.00%-1.53%0.39%-0.67%-0.87%3.47%-0.85%5.78%
79.3700001.41%-0.76%-0.74%-4.47%-1.71%-0.77%-2.05%79.3700001.41%-0.76%-0.74%-4.47%-1.71%-0.77%-2.05%
111.1200002.06%-0.42%-2.71%-4.86%-4.57%-6.11%111.1200002.06%-0.42%-2.71%-4.86%-4.57%-6.11%
155.570000-5.11%-3.03%-5.43%155.570000-5.11%-3.03%-5.43%
217.800000-3.49%217.800000-3.49%
\n" ], "text/plain": [ - "" + "" ] }, "execution_count": 13,