Open tcstewar opened 11 years ago
I've implemented the first of the two examples above.
One thing to watch out for is its behaviour if you switch to direct mode: it prints a warning message and then just outputs 0 for the function. I'm not sure what the correct behaviour should be, but one option would be to have it implement a nearest-neighbour algorithm on the lookup table.
It'd be great to be able to do this:
This would specify a function from a dataset, rather than defining the function itself. Indeed, we could even load the data in from .csv files