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
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 ace-sklearn-crfsuite-0.4.0.tar.gz
.
File metadata
- Download URL: ace-sklearn-crfsuite-0.4.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19ce6c76a16044b249c004070c944b99677bb3b76942783d815811223cd3024c |
|
MD5 | 7620671ecb2624d74b88da2e2c88a7b0 |
|
BLAKE2b-256 | 2406c10b2d2422d31889d87df26f8412207b52a40fca7c4aeb1f54d4413e67b3 |
File details
Details for the file ace_sklearn_crfsuite-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: ace_sklearn_crfsuite-0.4.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d3e6b5c5592428e2ca5f7549f9acd49881dd919e7eecd4ca8db829741baf1b9 |
|
MD5 | 10230357b5fa53581033986e94dc3743 |
|
BLAKE2b-256 | cbdd6d25733da39b9b3c7cc6ff099cf87dfae65e1e42ca5c0fc55e3be70e751c |