ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Bethard <steven.beth...@gmail.com>
Subject Re: Temporal - Event/Time Mentions returning/storing confidence?
Date Thu, 26 Jun 2014 20:26:48 GMT
On Wed, Jun 25, 2014 at 3:23 PM, Chen, Pei
<Pei.Chen@childrens.harvard.edu> wrote:
> Is there an easy way to get the confidence from the classifiers from clearTK?
> Example-
> BIOChunking<BaseToken, TimeMention>.createChunks(timexCas, tokens, outcomes);

If you're in a CleartkAnnotator, you can use this.classifier.score
instead of this.classifier.classify. You can then put that score
wherever is appropriate in the type system.

That said, for Chunking, it's less clear how you would use the score,
since the classifier score is token-based, not entity-based.

Steve

Mime
View raw message