hal-cgp icon indicating copy to clipboard operation
hal-cgp copied to clipboard

Evaluate objective in C

Open HenrikMettler opened this issue 3 years ago • 0 comments

For some applications, one might want to evaluate fitness in C. Here CartesianGraph is extended with a function to_c which writes the computational graph into a C-module. An example is provided which performs L2 regression on a simple target function. Note: Due to a late api change (writing files instead of returning strings) the test is currently not working - I left it as commented out code since large junks of it should be reusable with reading from generated files

HenrikMettler avatar May 25 '22 17:05 HenrikMettler