mex c++ interface to call Eureqa server directly from matlab
The code enables symbolic regression with possible user-defined operators (such as +, -, *, /, ^, exp, log, sin, cos, abs, tan). Applications range from a detection of hidden data relationships to nonlinear regression of different kinds to feature selection for machine learning algorithms.
Johannes Jenkner (2020). Interface with Eureqa featuring symbolic regression (https://www.mathworks.com/matlabcentral/fileexchange/32225-interface-with-eureqa-featuring-symbolic-regression), MATLAB Central File Exchange. Retrieved .
Is this interface compatible with latest version of MATLAB (R2013b)?
Could you add support of Boost ver. 1.48, which is default version in Ubuntu 12.04 LTS?
I used Boost version 1.42 with the eureqa api. Can you give it a try?
This seems very useful, however, when I tried to compile it with Boost 1.47, the following error occurred.
../eureqa/connection.h:438: error: ‘class boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >’ has no member named ‘get_io_service’
make: *** [eureqa_select.o] Error 1
Any suggestions on a possible fix, please?
A simple matlab code is now provided as an example.
Bug removed which resulted in predstr being scrambled in output formula (string stream now cleared in c++ code on line 386)