Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在考虑使用 libsvm。目前,我已将我的特征向量转换为 SVM 特征向量格式。我在一个项目中使用 LibSVM,我需要在我的应用程序中以某种方式使用它。问题是目前所有可用的示例都使用命令行向 LibSVM 提供输入。我不想要这个。您能否给我一个示例,说明如何在我的代码中使用它(无需调用命令提示符,也无需 Weka)。谢谢
分发源代码中有示例https://github.com/arnaudsj/libsvm/tree/master/java
小程序不使用命令行输入。查看libsvm-3.11.tar.gz\libsvm-3.11.tar\libsvm-3.11\java
libsvm-3.11.tar.gz\libsvm-3.11.tar\libsvm-3.11\java