1

http://creativemachines.cornell.edu/eureqa/

http://code.google.com/p/eureqa-api/

有没有办法将 Eureqa 与 R 连接起来?(Windows操作系统)也许:

Rcpp 包和:

使用 Eureqa API 的最简单的完整 C++ 程序:

#include eureqa/eureqa.h

#include iostream

int main(int argc, char *argv[])
{
  // initialize data set and options
  eureqa::data_set data("my_data.txt");
  eureqa::search_options options("y = f(x)");

  // connect to a eureqa server
  eureqa::connection conn("127.0.0.1");
  conn.send_data_set(data);
  conn.send_options(options);
  conn.start_search();

  // display results
  eureqa::search_progress progress;
  eureqa::solution_frontier solutions;

  while (conn.query_progress(progress))
  {
    solutions.add(progress.solution_);
    std::cout << progress.summary() << std::endl;
    std::cout << solutions.to_string() << std::endl;
  }
  return 0;
}
4

0 回答 0