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
Added multilabel reader in LibSVMFile. Fixed a bug in so_multiclass.cpp #2062
Conversation
…ethod is replaced by the L-BFGS method
This reverts commit 1c39d9b.
This reverts commit 7b8cf6d.
This reverts commit 9babe65.
… Newton method" This reverts commit fa83523.
Fixed "bullet lists" errors and a subscript error in Doxygen documentation.
…eHeaderFile Update RandomKitchenSinksDotFeatures.h
Add more details on RKS algorithm.
Fixing memory leaks in NCBM solver.
…d_unittest" This reverts commit 10e7de7.
… merge to GaussianProcessBinaryClassification
…Classification_unittest
Update README_cmake.md
add config.h in all .h files in shogun/classifier
updating revision of data submodule
I list the changes here again in order to link to the related issues: (1) This PR is mainly for #1987: add reader/writer for MultilabelLabels. A new function has been added in LibSVMFile. (2) An example has been added, see io_libsvm_multilabel.cpp. Scene and yeast datasets have been tested. (3) A tiny bug in so_multiclass.cpp was fixed. It occurred when compiling in ubuntu with mosek installed. |
@Jiaolong we need to at least |
Yes, I am still working on this branch. But I am not totally clear about the idea. Could you elaborate me a little bit more? So, for example, can we just use a sparse matrix to output the labels? No matter single or multiple, just unify the output. |
I mean to use a unified function, e.g.,
Then, the user doesn't need to specify the type of the file but get the labels from matrix_label, including single and multiple labels. |
@Jiaolong mmm yeah, exactly that's what i wrote yesterday.... and no that helper function should not be implemented in |
OK, cool! To make sure I have catch your idea, I put the changes as following: (1) Change old (2) We parse the file and know what is the type, and if it is single-labeled, we convert sparse matrix into float pointers. The convert (helper) function is implemented in CBinaryLabels and CMulticlassLabels (3) So for the users, they only call Am I right? |
CLaplacianInferenceMethodWithLBFGS preview
minor fixes in multiclass nb
I am sorry, the branch was polluted. |
The previous one #2039 is closed due to some unrelated testing error in Travis report.
The changes also include updating revision of data submodule, where multilabel dataset were added.