Classify a single instance

3 views
Skip to first unread message

Nicolai Erbs

unread,
Nov 14, 2016, 9:05:59 AM11/14/16
to dkpro-tc-users
Hi,

is there a convenient way to classify a single instance with DKPro TC? I know there is a convenient way to do it with Weka, but is it also possible with DKPro TC? The use case would be to classify a single document after training a model for existing training data.

Kind regards,
Nicolai

Johannes Daxenberger

unread,
Nov 15, 2016, 12:14:50 PM11/15/16
to Nicolai Erbs, dkpro-tc-users

Have you had a look at https://github.com/dkpro/dkpro-tc/blob/master/dkpro-tc-examples/src/main/java/org/dkpro/tc/examples/single/document/WekaSaveAndApplyModelSinglelabelDemo.java?

This would store an pre-trained model and use it to classify arbitray text (or single instances).

 

Hope that helps!

Johannes

--
You received this message because you are subscribed to the Google Groups "dkpro-tc-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dkpro-tc-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages