开发者

Mallet: features contribution on each prediction

开发者 https://www.devze.com 2023-03-01 10:58 出处:网络
I\'m developing a NER system on Mallet using CRFs. Do you know if it is possible to collect the features contribution for each prediction?

I'm developing a NER system on Mallet using CRFs.

Do you know if it is possible to collect the features contribution for each prediction? I need to know and understand the precise behavior of the CRF model.

Any suggestions?

开发者_JAVA技巧

Thanks.

Cheers, ukrania


Yes you can do this, just do print of CRF model and check weights of model, if value is big by absolute value then it has big influence in classification result.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号