Perl-Sensitive Sunglasses PerlMonks

### Re: Estimating continuous functions

by johndageek (Hermit)
 on Mar 30, 2004 at 02:14 UTC ( #340827=note: print w/replies, xml ) Need Help??

in reply to Estimating continuous functions

Love the problem!

Just a couple of twisted thoughts.

Given a set of data, our first move would be to apply a set of operators to the independent variables, such that the result equals the dependent variable for one line of input data.

Then we apply the formula to the following lines of input, one after another until we get a set of data that fails.

Having successfully negotiated all of the given data, do we assume (yes yes I know) the formula isthe correct one? Or do we need to attempt to find all (sigh) possible formulas that will work out when applied to the data set?

Either way we are left with the sticky problem of trying to know all possible fomulae that will solve a given set of data for a given set of answers. This begins to smack of cryptography.

Some series may not play fair such as:
1 1 2 3 5 8 13 21
o t t f f s s e

would the following fit in as a possible data set?
x y z D

1 4 1 3
4 1 5 4
1 5 9 5
5 9 2 6

"formula" to get x,y and z needs to be blown out for each value.
int( (\$pi*10**(\$d-3)-(int(\$pi*10**(\$d-3)))) *10**3)

Thanks for a fun problem and headache! Good luck.

Enjoy!
Dageek

Create A New User
Node Status?
node history
Node Type: note [id://340827]
help
Chatterbox?
 [erix]: interesting difference, I suppose they use different data/routes (and shorter seems better, no?) [erix]: (I used http://afstandmete n.nl/ ) LanX The stations of Limburg Süd and Montabaur, which are approximately 20 km apart, ... [LanX]: teh route I get from gmaps is 1662 km long and is crossing the Swiss Alps (mounting 2400 m) ... I wouldn't try this in December...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2017-12-13 15:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
Voting Booth?
What programming language do you hate the most?

Results (369 votes). Check out past polls.

Notices?