Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
CRFsuite (python-crfsuite) wrapper which provides interface simlar to scikit-learn
.. image:: https://img.shields.io/pypi/v/sklearn-crfsuite.svg :target: https://pypi.python.org/pypi/sklearn-crfsuite :alt: PyPI Version
.. image:: https://img.shields.io/travis/TeamHG-Memex/sklearn-crfsuite/master.svg :target: https://travis-ci.org/TeamHG-Memex/sklearn-crfsuite :alt: Build Status
.. image:: https://codecov.io/github/TeamHG-Memex/sklearn-crfsuite/coverage.svg?branch=master :target: https://codecov.io/github/TeamHG-Memex/sklearn-crfsuite?branch=master :alt: Code Coverage
.. image:: https://readthedocs.org/projects/sklearn-crfsuite/badge/?version=latest :target: https://sklearn-crfsuite.readthedocs.io/en/latest/?badge=latest :alt: 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_.
.. _CRFsuite: http://www.chokkan.org/software/crfsuite/ .. _python-crfsuite: https://github.com/scrapinghub/python-crfsuite .. _scikit-learn: http://scikit-learn.org/ .. _joblib: https://github.com/joblib/joblib
License is MIT.
Documentation can be found here <https://sklearn-crfsuite.readthedocs.io>
_.
.. image:: https://hyperiongray.s3.amazonaws.com/define-hg.svg :target: https://www.hyperiongray.com/?pk_campaign=github&pk_kwd=sklearn-crfsuite :alt: define hyperiongray
The CRF.predict()
and CRF.predict_marginals()
methods now return a
numpy array, as expected by newer versions of scikit-learn.
Fixed the parameters of a call to the
sklearn.metrics.classification_report()
function from the
flat_classification_report()
function.
sequence_accuracy_score
now works with numpy arrays.
Dropped official support for Python 3.7 and lower, and added official support for Python 3.8 and higher.
Added support for scikit-learn 0.24.0 and higher.
Increased minimum versions of dependencies as follows:
Internal changes: enabled GitHub Actions for CI, added a tox environment for minimum supported versions of dependencies, applied automatic code cleanups.
sklearn_crfsuite.metrics.flat_recall_score
.FileResource.cleanup
;metrics.flat_precision_score
.FileResource.__del__
.FileResource.__del__
.sklearn_crfsuite.metrics.sequence_accuracy_score()
function and
related sklearn_crfsuite.scorers.sequence_accuracy
;FileResource.__del__
method made more robust.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.
Initial release.
FAQs
CRFsuite (python-crfsuite) wrapper which provides interface simlar to scikit-learn
We found that sklearn-crfsuite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.