Eureqa discovers equations

While “Software to discover equations and mathematical relationships in data” isn’t at the top of our christmas wish list, we have to admit that Eureqa is pretty cool. Developed at Cornell University, Eureqa uses machine learning algorithms to determine the underlying math behind data sets. It derived Newton’s second law of motion in a few hours on a standard desktop computer, which isn’t bad at all for a cold unfeeling robot mind. There probably aren’t many applications for this in most hacks, but what hacker wouldn’t want Sir Issac Newton’s brain in their toolbox? The software can be downloaded for free from their website.

[Via Wired]

35 thoughts on “Eureqa discovers equations

  1. The only applications I can think of is seeing relations between results of fuzzing tests, and brute forcing serial numbers for software to build a keygen.

  2. Qd0b0
    I don’t know, I’ve seen some pretty complicated home chemistry hacks. One of my friends is doing home research on plant growth, using over the counter supplies. Scientific equipment is getting cheaper and hackers are branching out.

    To say it another way… I have a c-clip opener I rarely ever use because I don’t see c-clips that often, but on a rare occasion I’m really glad I bought it because opening a c-clip without it a royal pain. I agree that most hacks aren’t “c-clip” problems and that there are ways to solve them without a c-clip opener, but maybe knowing that a tool is there will help someone.

  3. @d0b0: of course it’s hacking related. on a very simple level, hardware hacking tends to deal with math a lot, and being able to generate a function for data points can help you understand how a device works, or possibly to build a circuit that will mimic something that you got data points from. i think it’s awesome personally.

  4. I for one, really appreciate this information. Yes, I know it’s not a hack. Yes, I know it’s been done before. It’s still an incredible piece of software and interesting to the type of people that follow Hackaday. I certainly would not have found this on my own.

  5. This certainly would have made the past few years working on an engineering major easier. Getting a model for a data set is extremely important, but getting one that captures the more subtle complexities of the relationship without something like this is near impossible for us to do in a reasonable time frame.

  6. awesome. we’re that much closer to not having to think for ourselves.

    don’t get me wrong, i DO think it’s great. as severedbrain inferred, it could be used for synth modeling of analog sounds.

  7. I am now wondering were I can get a copy…
    I have an exelent idear for an AI engien.
    To conpair all inputs. A series of very basic CPUs interconected create enuf parralel prossessing speed for the interface to conect to the sireal port at maximum posible baud rate.
    For example a varying analog source representing speach. Conpaired with a dictionary theosorus combo.
    Or sensors around your house conpaired leading to it learning your day to day routine.

    An extreamly detailed design structure would be needed.
    And it would take a while. But imagen if the program ran for 100 years or more nothing in computer terms but think of what it could learn if it was linked it to a remotly operated veical of some sort to map and interact with it’s enviromet.
    Could win a noble prize lol but it would take a life time to program
    thought – a modifyed version of a program that creates the circute path ways for micro prosessors desighning the software and hardware – just a thought lol

  8. My first post here.

    This is actually looks like some cool software. Just that one screen show shows it working iterative solutions. It can effectively reverse engineer any observations in RL. Could be useful for many things…

  9. I can appreciate this very much.

    This could possibly give me an easy way to derive equations to express the noise in sensor systems, and from that try and develop a way to filter out that noise as needed.

    Beyond that it still has many uses in hacking. If you’ve never needed a piece of software that does this, be happy, it’s no fun having to code one, even when it’s just for a very specific problem.

  10. This is awesome. Usable for anything from developing understanding and predictability of natural phenomena to making a new strategy for TBS games. I would love to play with this tool.

  11. “There probably aren’t many applications for this in most hacks.. ”

    Isn’t that what most research is? Just a series of well-informed ‘hacks’? So maybe you’ve got (alot) more funding and better equipment, but you’re still ‘tinkering’ with the laws that govern the world as we know it. (And therby testing the boundaries based on prior knowledge.)

    I think it has *everything* to do with ‘most hacks.. ‘

    Definitely way cool..

  12. This is a great tool. I have been messing about with it for a couple of revisions for finding relationships between motor driver data. temp, heat, current etc. While it seems a pointless exercise, it is helping to shape a good model of a non linear system.
    Defo a hack related tool.

  13. @Min – I believe this finds the best fit model for the data set, unlike most curve fitting packages which let the user select the model. The ‘best fit’ may not always be obvious with raw data..

    I’m definitely gonna have to check this out..

  14. One use off the top of my head… Use it to model the characteristics of components when developing SPICE models. MOSFETs and LEDs come to mind, especially MOSFETs and exotic high power LEDs where the manufacturer-supplied models can be pretty awful.

    Wolfram|Alpha should turn this into a Web app.

  15. How about making a decent approximation for some function using limited operators. using only +,-,/,* and abs()? Might be useful on a micro with limited math capabilities…

    here is what it did with a SIN(x) dataset x from 0..260 in 0.1 degree increments.

    y=(4.88622 + 0.0126778*x*abs(0.0114593*x – 1.59466) – 2.90379*abs(0.0114593*x – 1.59466) – 0.0245189*x)/(0.999628 + 53.4167/(58.2545 + x*abs(0.0114593*x – 1.59466))) – 0.134694

    Kinda complex but pretty accurate, this one is not as hairy but a little less accurate around 180:

    y=4.2249 + 0.0119223*x*abs(1.95332 – 0.0109327*x) – 2.1621*abs(1.98645 – 0.0109327*x) – 0.0234713*x

    Might be useful if you don’t have a native sin function and might smaller than a lookup table in code.

    I am also thinking it would be great for determining the transfer function of a temp sensor for fast conversions, finding a function to make an LED brightness sweep linear, etc. There are probably a bunch of functions that could be found based on your specific configuration to make robots move smoother, and stuff just work better.

    I guess a real engineer would derive these functions from the design, but this hacker probably has to build then observe…

    http://www.natnlabs.net

  16. This is a really nice bit of software. Sometimes you don’t need to optimise your model perfectly,so the time spent doing the usualSystem Identification process could be skipped by using an automatically generated ‘best enough’ model.
    As for hacking, if you want to do anything haptic, or involving servos or the like, this will make your life a whole lot easier.

  17. This brings back bad memories. Texas A&M had a class dedicated to this 20 years ago. You were given a dataset and had to write a program in Pascal on the mainframe to apply the best curve-fit model. Only two majors in the class, Aerospace Engineers and Meteorologists. The weatherpeople were horrified.

  18. Very little mention of what only one person caught.
    The potential application of this package for
    modeling/predicting market price action. The long
    sought after holy grail of technical systems
    traders looking for an “edge” over one another
    with packages such as OptionVue, TradeStation,
    blah, blah, blah. Another application that may
    or may not be of value. Since it does (on the
    surface) appear to be just a curve fitting app.

  19. Totally awesome. Great find guys, this will extremely useful for my car racing game. It should aid me with creating magic traction formulae and fuzzy logic membership functions for the AI.

  20. Roger Alsing made software similar to quite some time ago, using genetic algorithms.

    http://rogeralsing.com/2008/02/07/genetic-programming-math/

    Inspired by that, I made my own php version* to experiment and learn. Funny thing about genetic algorithms though.. GAs find the best solution to the dataset you present. Just don’t expect the function to work well outside the boundaries of the initial dataset. :P

    *yes, yes, I know php isn’t a good choice performance wise, but it’s just so simple and accessible for “prototyping” and just plain fun projects.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s