libsvc | Tiny helper lib for building daemons in C
kandi X-RAY | libsvc Summary
kandi X-RAY | libsvc Summary
This is a library that helps building unix services. The library is licensed under the MIT license.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of libsvc
libsvc Key Features
libsvc Examples and Code Snippets
Community Discussions
Trending Discussions on libsvc
QUESTION
I'm building a text classifier, which should be able to give probabilities that a document belongs to certain categories (i.e. 80% fiction, 30% marketing etc)
I believe Libsvm does this via the "predict" method, but the problem is that I have approximately 20 categories to test for. Also, I have several hundred documents that can be used for the training.
The problem is that the training file gets 1 GB - 2 GB big, and this makes Libsvc super-slow.
How can this issue be solved? And should I go for Liblinear instead, or are there better options?
...ANSWER
Answered 2018-Jun-28 at 18:23Regarding this specific question, I had to use Liblinear as LibSVC kept running forever.
But if anyone wants to know how it eventually turned out:
- I switched from PHP / C++ to Python, which was tremendously easier and did not encounter any memory issues
- My case was "multi-labelling". This article put me in the right direction, and the magpie project helped me accomplish the task.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install libsvc
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page