Skip to content

throw IOException when failing to load svm_model#72

Open
StaffanArvidsson wants to merge 2 commits intocjlin1:masterfrom
StaffanArvidsson:remove-sys-err
Open

throw IOException when failing to load svm_model#72
StaffanArvidsson wants to merge 2 commits intocjlin1:masterfrom
StaffanArvidsson:remove-sys-err

Conversation

@StaffanArvidsson
Copy link

svm.svm_load_model returned null when given a non valid file, make more sense to throw an exception instead (now throws IOException).
Added svm_print_err_string that works the same way as svm_print_string in svm.java. Now there's a way to remove printing errors directly to System.err which is bad if you wish to use libsvm as part of another java project. Added setter method for setting the svm_print_err_string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant