Making an input text file as a training data set in libsvm

我的梦境 提交于 2020-01-06 14:07:22

问题


I am working on hydraulic simulation using epanet, and I have got various leaky and normal flow, pressure values of nodes and links.

I want to train these output values using libsvm. I have got the output (hydraulic simulation) in different format.

My question is whether it is possible to add that output as training input to the libsvm.


回答1:


If your output format can be stored in a generic CSV format, you can use csv2libsvm to convert the data into libsvm format.

The git repo can be found here: https://github.com/zygmuntz/phraug/blob/master/csv2libsvm.py

Note that the tool is written in python.



来源:https://stackoverflow.com/questions/29829531/making-an-input-text-file-as-a-training-data-set-in-libsvm

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!