Code Monkey home page Code Monkey logo

sanememo's Introduction

SaneMemo

An open-source, well documented, spaced repetition algorithm.

Features

  • Introduces sub-decks for efficiently learning large decks (Super useful!)
  • Intuitive variable names and algorithm parameters.
  • Fully open-source with human-readable examples.
  • Easily configurable parameters to accommodate for different users' memorization abilities.
  • Computationally cheap to compute next card. No need to run a computation on every card in the deck.

Terminology

  • card: an item to be memorized
  • deck: a set of cards
  • sub-deck: a subset of a deck. This is generated dynamically by the algorithm.

What are sub-decks?

The use case of sub-decks is as follows. A user adds a large number of cards to their deck (Ex: 100+) and now attempts to study. In order to facilitate efficient learning it is imperative to repeat the new cards with a frequency greater than 1/100. To solve this problem SaneMemo groups new cards into sub-decks of a configurable size default sub_deck_size=20. Cards in a sub-deck are repeated more frequently, once the user indicates that they know the card, it is removed from the sub-deck and replaced with a new card.

Core Ideas

Users is given three options to describe the difficulty of a card.

  • "I KNOW IT"
  • "I KNOW IT BUT WILL FORGET"
  • "DON'T KNOW"

These are roughly equivalent to easy, medium and hard. But are more intuitive, and more accurately model the human learning process.

Algorithm

See code.py

Inspiration

sanememo's People

Contributors

jakobovski avatar

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.