sklearn-crfsuite
sklearn-crfsuite is a sequence classification library. It provides a higher-level API for python-crfsuite; python-crfsuite is a Python binding for CRFSuite C++ library.
eli5 supports eli5.explain_weights()
for sklearn_crfsuite.CRF objects;
explanation contains transition features table and state features table.
import eli5
eli5.explain_weights(crf)
See the tutorial for a more detailed usage example.
Note
Top-level eli5.explain_weights()
calls are dispatched
to eli5.sklearn_crfsuite.explain_weights.explain_weights_sklearn_crfsuite()
.