Comments (19)
Like this add-on: Anki Simulator.
from fsrs4anki.
OK, I've added some documentation to the notebook just now.
from fsrs4anki.
What's your Anki version? I see the collection.anki21b in the files. I never saw it before.
from fsrs4anki.
I got it. anki21b
is the filename extension of the collection for the latest version of Anki. I have supported it in the newest version now. You can try it at https://github.com/open-spaced-repetition/fsrs4anki/blob/main/fsrs4anki_optimizer.ipynb
from fsrs4anki.
Hi @L-M-Sherlock Thank you for the help. I'm using the Anki from git commit 5bf031f1e. I built this version a few days ago for the sake of trying out your amazing algorithm. I'll try your new notebook.
from fsrs4anki.
@YorkZ The problem still exists. Please export your collection file with Support older Anki versions
and try it again.
from fsrs4anki.
Looks like it succeeded this time, thanks again. But I still have two questions:
- Does the
.colpkg
file I exported include all my decks, or just one deck? If it includes all the decks, then how can I make it to include only one deck because I want to optimize each individual deck separately. - I still don't know how to use the results of running the notebook. My understanding is that the results would have to be copied back to my local computer because I run
Anki
on my local computer right? However, I wasn't able to find any document about how to incorporate the optimization results back into the localAnki
system.
from fsrs4anki.
- You can use
.apkg
file to optimize for each deck. - Copy the parameters in the notebook and replace the parameters in the custom scheduling of Anki deck options with them. The following output is an exmple.
print(f"const defaultDifficulty = {defaultDifficulty};")
print(f"const defaultStability = {defaultStability};")
print(f"const difficultyDecay = {difficultyDecay};")
print(f"const stabilityDecay = {stabilityDecay};")
print(f"const retrievabilityFactor = {retrievabilityFactor};")
print(f"const increaseFactor = {increaseFactor};")
print(f"const lapsesBase = {lapsesBase};")
from fsrs4anki.
Thank you so much. I would recommend that you document this step as well though. I'll try it out tomorrow.
from fsrs4anki.
Sorry I still don't fully understand it. So should I copy the print
statements in the Result
section from running the notebook, to the Custom scheduling
box in Anki
deck option? But which line should I insert these print
statement to? I don't see any print
statement in that javascript
file.
from fsrs4anki.
The default parameters in the javascript
file:
You can replace the default parameters with the output of the optimizer.
from fsrs4anki.
I see. I also guessed this, but I did compare the defaults generated by the notebook with the defaults in that javascript
file, and found them to be exactly the same. The following was copied from my results of the notebook, and as you can see they have no difference with the ones in that javascript
file.
const defaultDifficulty = 4.6179;
const defaultStability = 2.5636;
const difficultyDecay = -0.5913;
const stabilityDecay = -0.1382;
const retrievabilityFactor = 1.1951;
const increaseFactor = 3.201;
const lapsesBase = -0.0562;
from fsrs4anki.
Maybe your code hasn't run there. The default output is generated from my revlog.
from fsrs4anki.
I uploaded only the exported file for the deck I was interested in (the .apkg
file), and then ran the notebook
again. This time it did produce the different parameters. So everything is ready for me to try it out tomorrow. Thanks again.
from fsrs4anki.
More feedback is welcome.
from fsrs4anki.
Sure. But I suppose it would take some time to know the results right? Or is there a way to know the results quicker?
from fsrs4anki.
Yes, it needs time. Maybe one month or more. Thanks for your test. And I will develop a simulator for predicting the review in the future.
from fsrs4anki.
What did you mean by "predicting the review"?
from fsrs4anki.
Sounds really cool!
from fsrs4anki.
Related Issues (20)
- [Feature Request] Change to difficulty on new cards HOT 3
- [Question] Not graduating cards the same day affects scheduling? HOT 3
- [Question] Who should NOT use fsrs4anki / the limits to generalization are in the training set HOT 3
- [Question] I haven't used Anki for a while HOT 1
- [Question] Date change HOT 6
- [Question] Does fsrs deals well with cramming HOT 1
- [Question] HOT 21
- Optimiser Stops Working After a Single Review HOT 23
- [Question]: Questions regarding Optimisation HOT 3
- [Question] Should I use a low value produced by optimal retention (75%)? HOT 6
- [Question] Can FSRS schedule intervals shorter than a day? HOT 8
- [Question] What is the correct way to determine the card state (New, Learning, Review, Relearning) when implementing the algorythm separately from Anki? HOT 2
- [BUG]: Intervals don't update after changing Desired Retention HOT 12
- [BUG] "Ignore reviews before" Not Working HOT 30
- [Feature Request] Uneasy day
- [Feature Request] Decreasing load balance
- [Question] Wiki—post-lapse stability example parameter inconsistency? HOT 1
- [Question] Do the stability and difficulty not change when the card is in `Learning` state? HOT 1
- [Question] HOT 3
- [Question] Confusion about short term scheduling HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fsrs4anki.