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, or save/load CRF models using joblib.
License is MIT.
Documentation can be found here.
Changes
0.3.4 (2016-11-17)
Small formatting fixes.
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
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
File details
Details for the file sklearn-crfsuite-0.3.4.tar.gz
.
File metadata
- Download URL: sklearn-crfsuite-0.3.4.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61be8271c3942dd6cf77699656a23dc8c401e50f64ed957ef43c07e73beb0502 |
|
MD5 | 5ad23d23c29a77fa54dcfb4694ae2306 |
|
BLAKE2b-256 | 4295bebfaa8004ffe0a5d74806db8d305ee7b32bed968cef870cdf48b2e2a8ec |
File details
Details for the file sklearn_crfsuite-0.3.4-py2.py3-none-any.whl
.
File metadata
- Download URL: sklearn_crfsuite-0.3.4-py2.py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfa5ce010a4b16d77d3fbdd1717b0eeb5ce085a44bcb95453d020bc701c4ccc7 |
|
MD5 | 93e389a59eb08b706fc1165075061779 |
|
BLAKE2b-256 | 51ef998a6f6868c3939937e45b81a5b4762dbf2f72a25f7f7bcdf5c5735ff5ac |