I've wanted this for years, but have never come across anything; a program for Windows to find the closest function to fit arbitrary data.
The data I feed it is simple: A table with two columns comprising an initial number on the left side, and the converted number on the right.
This below is a very simple example. The program should easily be able to see the pattern:
- 10 -> 110
- 20 -> 410
- 30 -> 910
- 40 -> 1610
So there, the program would find the formula to be x^2+10.
More complicated may be something like this:
- 5 -> 16
- 7 -> 23
- 15 -> 250
- 25 -> 300
- 35 -> 30000
I made those numbers up. Before anyone brings it up, I know there are an infinite number of functions which will successfully work with the above data (if I didn't say that, I just know someone would jump on my toes for it). However, I want a program, perhaps using genetic programming or advanced B-spline/NURB curve type math to find an accurate (doesn't have to be a perfect) fit, and if at all possible, a small and simple function. The winning function can use addition, multiplication, exponentiation, double exponentiation, or basically anything it fancies to find the function.
If the program uses genetic programming, then the GP's fitness function will take into account the simplicity/mathematical steps as a component of overall fitness.
Ideally, the program would allow two or more inputs (rather than one) for each output, but I'd be grateful for something which just works with a single input and output as demonstrated in the two examples above.
The program should be so simple that even a child could use it.