An open API service indexing awesome lists of open source software.

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

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.