A Ruby interface to the Timbl machine-learning library
C++ Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ext
lib
swig
test
.document
.gitignore
LICENSE
README.rdoc
Rakefile
VERSION.yml
rtimbl.gemspec

README.rdoc

rtimbl

rtimbl is a Ruby interface to the C++ machine-learning library Timbl. This is very much a work in progress. If you happen to come across this, keep that in mind.

View the TiMBL Homepage.

installation

sudo gem install markisisme-rtimbl
  • make sure you already have Timbl version 6.1.5 installed on your system.

usage

  • first require the library

    require 'rtimbl'
    include Ruby_timbl
  • now use commands as defined by the Timbl API.

    rt = TimblAPI.new("-k3")
    rt.learn("/path/to/file")
    result = rt.classify("5,0,0,1,0,?") # result is a TargetValue object

Copyright

Copyright © 2009 Mark Shirley. See LICENSE for details.