Skip to content

maspwr/rtimbl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 © 2009 Mark Shirley. See LICENSE for details.

About

A Ruby interface to the Timbl machine-learning library

Resources

License

Stars

Watchers

Forks

Packages

No packages published