Skip to main content

CRFsuite (python-crfsuite) wrapper which provides interface simlar to scikit-learn

Project description

PyPI Version Build Status Code Coverage Documentation

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sklearn-crfsuite-0.3.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

sklearn_crfsuite-0.3-py2.py3-none-any.whl (12.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sklearn-crfsuite-0.3.tar.gz.

File metadata

File hashes

Hashes for sklearn-crfsuite-0.3.tar.gz
Algorithm Hash digest
SHA256 9c818379f7717fdfeb7939ae746164de6728c6a284e4c23d0a29dd6ecf4efea2
MD5 9378cda87d66b75572d4bbffce464242
BLAKE2b-256 df4d30424e041b66a435f1fa47567a71e736161d200f37702b5708f573b5873b

See more details on using hashes here.

File details

Details for the file sklearn_crfsuite-0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sklearn_crfsuite-0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 eb251e2ae6897e501f1bb9859418c54c30ce73237658ba67f5616d430d6a3418
MD5 10f8cbc689e30d250c7c1a028b0c6e46
BLAKE2b-256 3474a47b32eed56b0163d2d9a6e99b806baa8448367ba4f825b9f2305cb60f51

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page