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

Uploaded Source

Built Distribution

sklearn_crfsuite-0.3.1-py2.py3-none-any.whl (12.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for sklearn-crfsuite-0.3.1.tar.gz
Algorithm Hash digest
SHA256 63341b7a27b2c9aa21e0a96649aff9490d1f09937920ddb4a38418d1b2455353
MD5 042c60b3f4f2465fafb060199533779c
BLAKE2b-256 cc0368ddb5611fffbeb9c2f4e6d665351306644a18cae1a4d48faa7c7cdba12d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sklearn_crfsuite-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 82ea68e27e3345a6ae15cc59f4fa0816e4059d6ff45d3a0ef708af14ed392bd5
MD5 c9380cea92c5c5d7dc1358676621e689
BLAKE2b-256 7d684fc89c57937b45317b22ab239f7689a6c96b986a5c7034f63b0920f503b1

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