GithubHelp home page GithubHelp logo

algebolic's Introduction

algebolic

Algebolic is a library for evolving mathematical expressions. You can use it to perform what's known as symbolic regression, where a symbolic mathematical expression is found that fits a given dataset. More generally, you can use it to evolve mathematical expressions that optimise any score function. The expressions are implemented so they can be very quickly evaluated, as can their derivatives which is useful in more advanced applications. We use it in our research lab, for example, to evolve laws of physics directly from data.

Algebolic is built on the darwin genetic algorithm framework.

Usage

Add it to your project.clj file:

[algebolic "1.0.0"]

Examples can be found in the ws/demo directory. The intro.clj worksheet is quite readable. With the others you might have to put in some thought/experimentation! You can view them on the web:

License

Copyright © 2015 Imperial College London

Distributed under the MIT licence.

algebolic's People

Contributors

jonyepsilon avatar

Stargazers

Bader Szabolcs avatar Nicolas (Nick) Danowski avatar Ati Sharma avatar Jonathan McHugh avatar  avatar Joel Boehland avatar  avatar yāλu avatar Emir Uz avatar  avatar Andy Kirkpatrick avatar  avatar Luo Tian avatar Gunnar Völkel avatar Steffen Dienst avatar Luca Antiga avatar Ruslan Prakapchuk avatar Christopher Small avatar Sungjin Chun avatar

Watchers

Mingli Yuan avatar James Cloos avatar  avatar  avatar

Forkers

pink-junkjard

algebolic's Issues

Refactor metrics code

The metrics code doesn't seem right to me at the minute: there's some duplication, and things are spread around in an unpleasant way. I wonder whether something more like logging would be appropriate?

Think about individuals and state

At the moment scoring, fitness, selection etc all drop properties directly onto individuals. I'm not sure this is the best way to do it, as it could be confusing and lead to subtle bugs where something isn't cleared that should be. Should think about the best way to organise state information in the EA loop.

Implement 90-10 crossover

No idea whether it makes any difference, but it's what other people often do, so would be nice for replicating their results.

Unary minus?

Having to write CA rules for both binary plus and binary minus is getting a bit tiresome. I wonder whether a unary minus would be a better idea. Or, indeed, whether you need a minus at all if you have negative constants.

Report generation

Would be nice to have a convenience function that generates a generic report on the last run (timings, pareto plot, accuracy score, variance etc).

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.