https://github.com/hscells/svmrank
cgo wrapper around svm_rank
https://github.com/hscells/svmrank
Last synced: 8 months ago
JSON representation
cgo wrapper around svm_rank
- Host: GitHub
- URL: https://github.com/hscells/svmrank
- Owner: hscells
- License: mit
- Created: 2018-03-27T01:19:04.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-17T07:45:55.000Z (about 8 years ago)
- Last Synced: 2024-12-28T12:43:22.940Z (over 1 year ago)
- Language: C
- Size: 83 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# svmrank
[](https://godoc.org/github.com/hscells/svmrank)
[](https://goreportcard.com/report/github.com/hscells/svmrank)
_A cgo wrapper for [svm_rank](https://www.cs.cornell.edu/people/tj/svm_light/svm_rank.html)_
## Installation
```
go get github.com/hscells/svmrank
```
### Scaling vectors
In addition to library code, I have a tool for scaling the values of features. To install, use:
```
go install -u github.com/hscells/svmrank_scale
```
For usage:
```
Usage: svmrank_scale --l L --u U FEATURES
Positional arguments:
FEATURES svm_light feature file to scale
Options:
--l L x scaling lower limit
--u U x scaling upper limit
--help, -h display this help and exit
```
`svmrank_scale --l 0 --u 1 foo.features > foo.features.scaled`