GithubHelp home page GithubHelp logo

bingo's Issues

Explicit/Implicit TrainingData read access to data

In implicit and explicit training data, the parameters of x and y (or dx_dt for implicit) are passed to the constructor to create a new instance. However, the constructor verifies that the data is shaped correctly. Because the member variables are exposed for both read and write access, this reshaping can be skipped and the data structure can be broken. Add read only properties to the values.

How to implement seeding with Bingo

How/where in the codebase does this get implemented? I assume that this takes the form of artificially imposing certain equations in the initial population gene pool

relative error for fitness function

Hi there I'm a new bingo user,
sometimes, especially when the value of the fitness function vastly varies, it useful to have relative errors. I saw there are different errors definition, so this functionality might just be added there. or simply when evaluating the fitness function.

Best regards and thanks for the great tool.

AGraph.Distance

The Distance function compares row-wise for each element to see if they match. However, how does this reflect to AGraphs with the same equation tree, but with different command arrays. For example let,

command_array_1 = [[LOADX, 0, 0],
                   [LOADX, 1, 1],
                   [LOADC, 0, 0],
                   [MULTI, 0, 2]]

and

command_array_2 = [[LOADX, 0, 0],
                   [LOADC, 0, 0],
                   [MULTI, 0, 1],
                   [LOADX, 1, 1]]

And distance(command_array_1, command_array_2) = 8 since the first row is the same, and the 0 in the 1st column-index of the 2nd row-index is in both arrays. However they both describe an equation f(x) = c_0 * x_0. Should the distance reflect the AGraphs or the command arrays?

ImportError: libmpi.so.12: cannot open shared object file: No such file or directory

Hi,

I have installed Bingo with the following steps:

conda create -n bingo python=3.8
conda activate bingo
conda install --channel conda-forge --file requirements.txt
./.build_bingocpp.sh
pip install .

The installation was successful, but when I run pytest tests I get the error message:

ImportError: libmpi.so.12: cannot open shared object file: No such file or directory

This seems to be an issue with conda rather than Bingo itself, there is an easy fix by including in the bash:

export LD_LIBRARY_PATH=~/anaconda3/lib:$LD_LIBRARY_PATH

Maybe it would be good to put that in the README file for anybody else having this problem. Notice also that the mpi seems to work only with Python 3.8, otherwise I cannot even install this library.

Feature request: add a comparison of BINGO with other genetic algorithm + symbolic regression packages in the README

The main one that comes to mind is gplearn, which I came across in the following article:

Weng, B.; Song, Z.; Zhu, R.; Yan, Q.; Sun, Q.; Grice, C. G.; Yan, Y.; Yin, W. J. Simple Descriptor Derived from Symbolic Regression Accelerating the Discovery of New Perovskite Catalysts. Nature Communications 2020, 11 (1), 1โ€“8. https://doi.org/10.1038/s41467-020-17263-9.

And of course some others are out there.

Add text discription to the repository

Currently, the only place that this repository is described is in the README.md. All that is currently shown in the description field is No description, website, or topics provided. The first line of the README.md could probably work Bingo is an open source package for performing symbolic regression

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.