https://github.com/genotrance/libsvm
This project is a Nim wrapper for the libsvm library
https://github.com/genotrance/libsvm
c2nim libsvm nim nimble nimgen svm
Last synced: 8 months ago
JSON representation
This project is a Nim wrapper for the libsvm library
- Host: GitHub
- URL: https://github.com/genotrance/libsvm
- Owner: genotrance
- License: mit
- Created: 2018-01-11T03:56:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-31T20:28:10.000Z (over 6 years ago)
- Last Synced: 2025-07-13T00:42:39.567Z (11 months ago)
- Topics: c2nim, libsvm, nim, nimble, nimgen, svm
- Language: Nim
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This project is a [Nim](https://nim-lang.org/) wrapper for the [libsvm](https://github.com/cjlin1/libsvm) library.
It is distributed as a [Nimble](https://github.com/nim-lang/nimble) package and depends on [nimterop](https://github.com/genotrance/nimterop) to generate the wrappers. The libsvm source code is downloaded using Git so having ```git``` in the path is required.
__Installation__
This package can be installed via [Nimble](https://github.com/nim-lang/nimble):
```
> nimble install libsvm
```
This will download, wrap and install the libsvm wrapper in the standard Nimble package location, typically ~/.nimble. Once installed, it can be imported into any Nim program.
__Usage__
Module documentation can be found [here](https://genotrance.github.io/libsvm/libsvm.html).
```nim
import libsvm
echo LIBSVM_VERSION
```
__Credits__
This project wraps the libsvm source code and all licensing terms of [libsvm](https://github.com/cjlin1/libsvm/blob/master/COPYRIGHT) apply to the usage of this package.
__Feedback__
This project is a work in progress and any feedback or suggestions are welcome. It is hosted on [GitHub](https://github.com/genotrance/libsvm) with an MIT license so issues, forks and PRs are most appreciated.