Wraper for machine learning module

23 views
Skip to first unread message

biochall...@gmail.com

unread,
Jun 22, 2015, 10:52:59 AM6/22/15
to cleart...@googlegroups.com

Hi,

we have implemented an machine learning module and want now  write a wrapper for this module to use it with ClearTK.
Is there a documentation about how to do this?

Thank you and best regards

Lee Becker

unread,
Jun 22, 2015, 12:08:22 PM6/22/15
to cleart...@googlegroups.com
While we lack a tutorial on wrapping new ML modules,  the code for the liblinear and mallet wrappers illustrate how to approach this work.  If you can use the existing ClearTK Feature encoders, then the bulk of your work will be in writing new DataWriters, ClassfierBuilders and Classifiers. DataWriters write training data to a file.  ClassifierBuilders do the packaging and loading of the module and models.  Classifiers are the chunk of code that do the scoring/classification.   

Most ClearTK ML wrappers start by extending these classes: DataWriter_ImplBase, ClassifierBuilder_ImplBase, and Classifier_ImplBase


Let us know if you have any questions,
Lee


Reply all
Reply to author
Forward
0 new messages