Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hscells/svmrank
cgo wrapper around svm_rank
https://github.com/hscells/svmrank
Last synced: 7 days 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-17T07:45:55.000Z (over 6 years ago)
- Last Synced: 2024-04-30T10:27:05.140Z (7 months 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
[![GoDoc](https://godoc.org/github.com/hscells/svmrank?status.svg)](https://godoc.org/github.com/hscells/svmrank)
[![Go Report Card](https://goreportcard.com/badge/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 FEATURESPositional arguments:
FEATURES svm_light feature file to scaleOptions:
--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`