CRFsuite (python-crfsuite) wrapper which provides interface simlar to scikit-learn
Project description
sklearn-crfsuite is a thin CRFsuite (python-crfsuite) wrapper which provides interface simlar to scikit-learn. sklearn_crfsuite.CRF is a scikit-learn compatible estimator: you can use e.g. scikit-learn model selection utilities (cross-validation, hyperparameter optimization) with it.
License is MIT.
Documentation can be found here.
Changes
0.3 (2015-12-17)
Added sklearn_crfsuite.metrics.sequence_accuracy_score() function and related sklearn_crfsuite.scorers.sequence_accuracy;
FileResource.__del__ method made more robust.
0.2 (2015-12-11)
backwards-incompatible: crf.tagger attribute is renamed to crf.tagger_; when model is not trained accessing this attribute no longer raises an exception, its value is set to None instead.
new CRF attributes available after training:
classes_
size_
num_attributes_
attributes_
state_features_
transition_features_
Tutorial is added.
0.1 (2015-11-27)
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for sklearn_crfsuite-0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb251e2ae6897e501f1bb9859418c54c30ce73237658ba67f5616d430d6a3418 |
|
MD5 | 10f8cbc689e30d250c7c1a028b0c6e46 |
|
BLAKE2b-256 | 3474a47b32eed56b0163d2d9a6e99b806baa8448367ba4f825b9f2305cb60f51 |