Alamopy gaussian rbf basis function evaluate surrogate issue #1223
Labels
bug
Something isn't working
core
Issues dealing with core modeling components
Priority:Normal
Normal Priority Issue or PR
surrogates
wontfix
This will not be worked on
I'm getting a syntax error in the alamopy file at line 1224 when trying to create the lambda for the surrogate model. Looking through the traceback, it looks like the lambda is attempting to read a string from alamo and convert it to python syntax.
It works fine for all of the other basis functions I've tried, but for the grbf Alamo returns surrogate expressions like this:
'Y1 == - 482267.41297314106486738 * exp ( -1. * sum of distances from initial data point 32 )'
It looks like the function has no idea what to do with the sum of distances from initial data point 32 variable and needs a way to parse these and generate the lambda.
Here's a simpler sample code that produces the same issue of not being able to parse the alamo output:
alamopy_grbf_error.txt
The text was updated successfully, but these errors were encountered: