Code Monkey home page Code Monkey logo

learning_machine's Introduction

Learning_machine

A basic python 3.6.5 program for memorising any kind of vocabulary, or simple answers to questions. The questions in the two csv files are about basic python functions.

*

Start with a 3-column CSV (no header), with 20 rows. Call it "flashcards.csv" (or change the name at the top of the program).
Column 0: the questions (e.g. the meaning of the word you want to memorise).
Column 1: the answer (e.g. the word you want to memorise).
Column 2: 0 (the initial level of this question in the algorithm).

The program moves questions between 5 boxes of increasing size.
Box 0 contains just 20 places for questions - that's the initial box for all questions.
Box 1 contains 30 places.
Box 2 - 45.
Box 3 - 68.
Box 4 - 101 - this is the final box.

If you answer a question correctly, its level is increased by 1 (it's "moved" to a higher box). If not, it stays on the same level.
Once a higher box is full, you start answering questions from that higher box.
Once you finish with the higher box, you go back to whichever level is full, or to level 0.

At the end you will get statists of how many questions are left at each level. Make sure that you fill in level 0 each time so that you finish with 20 questions at this level. This regular refilling is educational. So don't start with a complete list of 2,000 questions at level 0 - it'll be difficult to ever get to level 1 with them, because the program randomises the question list during every session.

The session is limited to showing you 50 questions in total, regardless of their levels. Don't do more than one session at a time. You have to let your brain forget and learn again - that's super effective!

*Image source.

learning_machine's People

Contributors

elbereth-elentari avatar h-sobol avatar

Watchers

 avatar  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.