数据可视化API
我正在用 C 编写基本遗传算法(字符串进化器)实现。 它需要一些输入,例如参考字符串和种群规模,并返回进化所需的代数。
有人可以建议一个 API/框架来帮助我通过多个输入一次又一次地运行此代码、收集数据并根据输出创建特定的可视化和图表吗?
I am writing a basic genetic algorithm(string evolver) implementation in C .
It takes a few inputs like reference string and population size and returns generations required to evolve .
Can someone suggest an API /framework that would help me run this code again and again , with several inputs , collect the data and create specific visualisations and charts based on the output?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会尝试使用你手上的任何东西。听起来 Matlab 是一个合适的绘图工具。那么您需要的是 Matlab 和 C 之间的接口,它可以基于 Mex 或 Matlab Engine。您甚至可以简单地通过命令行调用应用程序并从文件中收集结果,这可能是最慢的方法。
I would try to use whatever you have on your hands. It sounds like Matlab is an appropriate tool for plotting. What you need is then an interface between Matlab and C which can either be based on Mex or Matlab Engine. You could even simply call your application via command line and collect the results from a file, which might be the slowest approach.