• Stars
    star
    1
  • Language
    Ruby
  • Created about 9 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Structured kNN algorithm implementation in ruby

SkNN-ruby

Structured kNN algorithm implementation in ruby.

SkNN is an algorithm for sequence tagging or classification.

Usage

install dependencies

bundle install

Learn model

Example of learning pen written digits from http://archive.ics.uci.edu/ml/datasets/UJI+Pen+Characters

ruby sknn.rb -l model.dat data/nums/*

Execute classification

ruby sknn.rb -x model.dat -o result.txt data/light_num_test.csv