-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrap ccall
s with proper Julia functions
#76
Conversation
Following JuliaML#75, this commit wraps all calls to the LIBSVM C library with proper Julia functions. That way we get some type safety and it also makes the code cleaner.
Codecov Report
@@ Coverage Diff @@
## master #76 +/- ##
==========================================
- Coverage 84.01% 82.88% -1.14%
==========================================
Files 4 5 +1
Lines 219 222 +3
==========================================
Hits 184 184
- Misses 35 38 +3
Continue to review full report at Codecov.
|
Co-authored-by: Iblis Lin <iblis.dif01@nctu.edu.tw>
Co-authored-by:Denis Barucic <barucden@fel.cvut.cz>
Co-authored-by: Denis Barucic <barucden@fel.cvut.cz>
Co-authored-by: Iblis Lin <iblis@hs.ntnu.edu.tw>
This adds a test for decision values and fixes passing the pointer to the decision value array.
@iblis17 I did what you suggested about the decision values. We now have a basic test to check the decision values too. I will try to tackle the pointers later, but I think this one is ready for merge. |
Following #75, this PR wraps all calls to the LIBSVM C library with proper Julia functions. That way we get some type safety and it also makes the code cleaner.