Code Monkey home page Code Monkey logo

sequencegeneration's Introduction

README

  • Please look at the file "grammar.pdf" first to know what are the grammars used here

What is this repository for?

  • for most of the sequence learning project you need to generate many sequences that respect REber grammar or some variations. This project provides files to generate them.

  • here is the explanation of the parameters and in which case (grammar) you need them :

    • Type_grammar : indicate the grammar used for the sequence generation
  •    0 -> Manual grammar (MG)
    
  •    1 -> simple reber's grammar (RG)
    
  •    2 -> Embedded and continious reber's grammar (CERG)
    
  •    4 -> Embedded reber's grammar (ERG)
    
    • lenCSeq: set the number of C in the manual grammar (the sequence starting with B always have an additionnal C)
  •   this parameter is usefull only for manual grammar when type_grammar=0
    
    • listNbSequences : set the number of sequences to generate _ always for Reber grammars and its variation (not manual grammar)
    • listSizeSequences : set the size of the sequence or stream
  •   this parameter is usefull only for CERG when type_grammar=2
    
    • debug : to set to 1 in order to display the print
    • comment : for making comments into json file

How do I get set up?

  • Just Download the python file and on parameters.json file, set your parameters and launch the command :
  • python sequencegeneration.py
  • or
  • python sequencegeneration.py parameters.json
  • NB : if no json file is specified, it will look by default for "parameters.json" file

Contribution guidelines

Who do I talk to?

  • Repo owner or admin
  • Feel free to contact me if you have any question!

sequencegeneration's People

Contributors

ichraibi avatar

Watchers

 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.