Giter Site home page Giter Site logo

robert-haas / alogos Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 3.0 9.06 MB

Grammar-guided genetic programming (G3P) methods: CFG-GP, GE, piGE, DSGE, WHGE

Home Page: https://robert-haas.github.io/alogos-docs/

License: Apache License 2.0

Makefile 0.49% Python 99.51%
cfg derivation-tree genetic-algorithm genetic-algorithms genetic-programming grammar grammar-guided-genetic-programming grammar-parser grammatical-evolution cfg-gp

alogos's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

alexgcsa kirbyg

alogos's Issues

All examples in the document are not functioning properly !!!

bnf_text = """
::= .
::= 0
::= 1
::= 2
::= 3
::= 4
::= 5
::= 6
::= 7
::= 8
::= 9
"""
grammar1 = al.Grammar(bnf_text= bnf_text)

When I run the above code, the following error prompt will appear:

alogos.exceptions.GrammarError: Following nonterminals appeared on a right-hand side of a production rule but on no left-hand side:

Random State Parameter

Hello,

Does the code support seed to define the random state?

I couldn't find it. It seems that every run I make generates a different result. This would be very important to replicate the same results later on.

Best,

Alex

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.