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, or save/load CRF models using joblib.

License is MIT.

Documentation can be found here.

Changes

0.3.3 (2016-03-15)

  • scikit-learn dependency is now optional for sklearn_crfsuite; it is required only when you use metrics and scorers;

  • added metrics.flat_precision_score.

0.3.2 (2015-12-18)

  • Ignore more errors in FileResource.__del__.

0.3.1 (2015-12-17)

  • Ignore errors in FileResource.__del__.

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.3.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

sklearn_crfsuite-0.3.3-py2.py3-none-any.whl (12.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for sklearn-crfsuite-0.3.3.tar.gz
Algorithm Hash digest
SHA256 2e301ec8076a9bc3b2bf9008ae10916c047397eb54e0d5352ff8fc979809b062
MD5 f9d82d2b63a02368f88fb216c61657a8
BLAKE2b-256 b46440b4ff765f9691ca51c667bd359dde869c286085fba54df83336e435601a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sklearn_crfsuite-0.3.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 961ade7192a8fb2004877fc6b5ad732d8882b919edf89ed389c2a1f08727afd4
MD5 9d85d9465878df02a4b382d415e85a28
BLAKE2b-256 0622963c690080d8fdc0ebb8c3923445a4ddee1f928f2a4fbac16ada4b4e2838

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