gmalik9 / pygep

Automatically exported from code.google.com/p/pygep
0 stars 2 forks source link

demo code for symbolic regression with user's measured data #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Can PyGep load a series of measured x,y data pairs and then predict the 
best fit equation for the users input data? 

Could demo code for a simple example be requested?

Thank you
Martin Trobec

Original issue reported on code.google.com by mtro...@gmail.com on 20 Jul 2008 at 5:08

GoogleCodeExporter commented 9 years ago
Hi Martin,

We actually do have this as one of the examples.  See:

http://code.google.com/p/pygep/wiki/SymbolicRegressionTutorial

That should be a good starting point.  You'd have to change the DataPoint class 
to
load the data that you want, but that's about it.

Best,
Ryan

Original comment by ryanjoneil on 29 Aug 2008 at 4:46

GoogleCodeExporter commented 9 years ago
yes sir. i understand that we need to modify the DataPoint class to load our 
own datasets.

If i have a 2D dataset such as
x0 x1 x2 x3
1 4 6 8
1 5 8 5
1 4 8 9

i want to obtain the expression tree governing this dataset.. Could a demo code 
be requested?? 

Original comment by phanisri...@gmail.com on 17 May 2011 at 1:12