camlspotter / learnHA

Learns a hybrid automaton model from trajectories of Cyber-Physical Systems.
GNU General Public License v3.0
0 stars 0 forks source link

Unify libsvm #5

Open camlspotter opened 4 months ago

camlspotter commented 4 months ago

See https://github.com/camlspotter/learnHA/issues/3#issuecomment-2244552739

Currently the code depends on 2 versions of libsvm, one is in the code, the other is installed by pip (or pipenv, whatever).

camlspotter commented 4 months ago

Amit said:

Initially for some debugging I have used it from source, I am not very sure if I have modified anything seriously. I think the official libsvm should also work.

The test fails with libsvm installed by pip install libsvm, probably because the version is pretty old: 3.23.0.4. The latest version 3.32.0 of libsvm is available as a package named libsvm-official. It seems there are some admin issues of releasing Python packages.