Optimized MIRA in Clojure. Does training, prediction, and testing
License
aria42/mira
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Implements margin-infused relaxation algorithm (MIRA). Fairly optimized. Released under Eclipse public license. Usage: All for main class mira =============================== - train data-path num-iters model-outfile [trains model spits it out to model-outfile] - predict model-infile test-data-path [writes one-per-line predictions to stdout] - test model-infile test-data-path [computes error of model on data in test-data-path] Format of labeled data: Each line looks like "label feat1:val1 feat2:val2 ... featN:valN" where feati is any string and vali is a double. Format of unlabeled data: Each line looks like "feat1:val1 feat2:val2 ... featN:valN" where feati is any string and vali is a double. Author ============= Aria Haghighi <me@aria42.com>
About
Optimized MIRA in Clojure. Does training, prediction, and testing
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published