Submitted by nszceta t3_z86jof in MechanicalKeyboards

My latest edition of Keyzen MAB measures your typing performance on trigrams using an English language corpus. Trigrams are chosen after each word using the dynamic thompson sampling algorithm. Weaker trigrams will be shown as much as necessary to minimize regret (time spent practicing trigrams you are already good at). Initially each trigram has a uniform probability distribution function. This changes with practice so bad trigrams are practiced appropriately. The dynamic component of thompson sampling ensures that older trigram practice instances are weighted less than newer ones, ensuring that your improvements in trigram speed are captured in the underlying statistical model of each trigram.

EDIT: I made the ngram modes switchable, your databases are kept fully intact, and bigrams are now the default for faster results. Refresh to see the 3.10 update.

https://adamgradzki.com/keyzen3

5

Comments

You must log in or register to comment.

AutoModerator t1_iya03e5 wrote

Hi, it appears you may be new to this subreddit! Please check out the wiki for general information about mechanical keyboards and consider posting questions in the daily sticky post at the top of the subreddit for any smaller questions. Be sure to also read the rules before posting or commenting.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

Bobertus t1_iya8rw6 wrote

How does this relate to spaced repetition?

1

nszceta OP t1_iyaaq9l wrote

Spaced repetition approaches model ngram learning rate and forgetting rate over time. The multi armed bandit method does not make any assumptions about performance over time. Rather, it is an attempt to discover your current abilities. The dynamic component of thompson sampling is implemented to ensure recent changes in per-ngram performance are weighted more heavily than older data points in the underlying statistical model. Thus what is being modeled is a best effort estimate of your abilities given limited exploration time.

1

Bobertus t1_iydl57u wrote

I've heard about the concept of search and exploit/multi armed bandit. But only superficially, and I never heard of Thompson sampling.

I'm wondering if you could make the "dynamic component" model the forgetting curve such that data points that probably aren't forgotten yet are weighted higher, giving you a new kind of spaced repetition algorithm.

I've been thinking of experimenting with creating spaced repetition software and I had the idea for a typing trainer using some kind of spaced repetition algorithm.

1

nszceta OP t1_iydqz0t wrote

Spaced repetition algorithms are a minefield. I have developed and partially validated an unpublished (so far) SR algo. The biggest failure of existing SR algorithms and something which has been studied in literature since 2016 a phenomemon in the human brain where retrieval performance of an item you want to learn becomes easier and harder seemingly at random. It turns out that there are three distinct phases of memory and your brain switches between them over time as it consolidates things you learn. A regression of performance over time becomes complicated. There are ways to deal with this using regime switching markov decision processes, but it is incredibly easy to get it all wrong. Another essential component of spaced repetitions so many algorithms get wrong is ignoring the spacing effect.

1

QWERKey-UK t1_iycbzl4 wrote

This seems to work well, and is a great tool for anyone, of any level. Bookmarked.

1

kool-keys t1_iycjtdb wrote

This has just made me aware that my typing is not as good as I thought it was :)

1

nszceta OP t1_iycuu99 wrote

We all have something we can improve with practice and effort

1

kool-keys t1_iyd7182 wrote

I've never really been obsessed with this whole 'I must be at 150wpm' thing, but I do pride myself on being accurate, so this will be helpful for practicing trigrams. The motivation for me to learn was just being able to type without looking at the board... accurately.

1