Closed ablaom closed 6 months ago
It is a bug in LIBLINEAR.jl. Structure Parameter
was not properly mirroring the corresponding C structure in LIBLINEAR. I pushed a quick fix (see https://github.com/innerlee/LIBLINEAR.jl/pull/29), but it needs some more work.
It would help if LIBLINEAR.jl is in JuliaML (innerlee/LIBLINEAR.jl#27).
It seems that the MLJ interface for this package has stopped working, without any change to the code: https://github.com/JuliaAI/MLJLIBSVMInterface.jl/issues/18
The culprit appears to be the linear SVC model. Locally testing this package reveals no problem, but it looks to me that there are no tests for the linear case. A MWE that reproduces the same fail observed in the MLJ interface package is below:
All my testing is with julia v1.10.0 and LIBSVM v0.8.0.
Since the last release of LIBSVM.jl, there was an update to the C library, LIBLINEAR. From their website: "Version 2.47 released on July 9, 2023. We fix some minor bugs." Could this be the culprit? Be good if someone else can confirm this or otherwise resolve the issue 😄.