Skip to main content

Fork of sklearn-crfsuite to provides interface simlar to modern scikit-learn

Project description

General Information

ace-sklearn-crfsuite is a fork of sklearn-crfsuite, adapted to fit modern versions of scikit-learn.

This version went for the strict minimum, and only support pyhton 3.10.

License is MIT.

How to install

The package is available as a pip package.

pip install ace-sklearn-srfsuite

How to use

We provide a tutorial to demonstrate how the package supports the integration of sklearn recent improvements to the existing code base.

This tutorial is heavily inspired by the original one available in the sklearn-crfsuite documentation.

How to contribute

The project use pipenv to allow easy external contributions. Using the –dev option install the development tools (tests, build and deploy)

pipenv install –dev

One can start an environment will all dependencies satisfied using the following command:

pipenv shell

Inside this environment, to run the tests:

python -m pytest tests/test_*.py

To check code coverage, one need to fiurst run the tests with coveragem, and then ask for a report.

coverage run -m pytest tests/test_*.py

coverage report

To build the code as a deployable package:

python -m build

To upload the freshly built packages to PyPi:

twine upload -r testpypi dist/*

Remove -r testpypi if the deployment went well, to publish to the real PyPi repository

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

ace-sklearn-crfsuite-0.4.0.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

ace_sklearn_crfsuite-0.4.0-py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 3

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