GithubHelp home page GithubHelp logo

Comments (19)

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024 2

Like this add-on: Anki Simulator.

from fsrs4anki.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024 1

OK, I've added some documentation to the notebook just now.

from fsrs4anki.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024

What's your Anki version? I see the collection.anki21b in the files. I never saw it before.

from fsrs4anki.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024

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.

YorkZ avatar YorkZ commented on July 23, 2024

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.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024

@YorkZ The problem still exists. Please export your collection file with Support older Anki versions and try it again.

from fsrs4anki.

YorkZ avatar YorkZ commented on July 23, 2024

Looks like it succeeded this time, thanks again. But I still have two questions:

  1. 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.
  2. 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 local Anki system.

from fsrs4anki.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024
  1. You can use .apkg file to optimize for each deck.
  2. 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.

YorkZ avatar YorkZ commented on July 23, 2024

Thank you so much. I would recommend that you document this step as well though. I'll try it out tomorrow.

from fsrs4anki.

YorkZ avatar YorkZ commented on July 23, 2024

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.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024

The default parameters in the javascript file:
Snipaste_2022-09-21_11-47-29

The output of the optimizer:
Snipaste_2022-09-21_11-47-52

You can replace the default parameters with the output of the optimizer.

from fsrs4anki.

YorkZ avatar YorkZ commented on July 23, 2024

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.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024

Maybe your code hasn't run there. The default output is generated from my revlog.

from fsrs4anki.

YorkZ avatar YorkZ commented on July 23, 2024

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.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024

More feedback is welcome.

from fsrs4anki.

YorkZ avatar YorkZ commented on July 23, 2024

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.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024

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.

YorkZ avatar YorkZ commented on July 23, 2024

What did you mean by "predicting the review"?

from fsrs4anki.

YorkZ avatar YorkZ commented on July 23, 2024

Sounds really cool!

from fsrs4anki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.