napari-xgboost
A plugin for pixel classification using XGBoost, inspired by Digital Sreeni's Youtube video.
Note: This plugin is work-in-progress. Check out the github issues to see what's currently being worked on.
Usage
Load an example image into napari. Add a Labels layer by clicking on this button:
Then, draw a sparse annotation on the image. Try to draw thin lines on background and foreground, e.g. like this:
Then click the menu Layers > Segment > Train Pixel Classifier (XGBoost).
In the dialog, select the original image and the labels layer. Also enter a filename where the model should be saved.
Afterwards, click on Run to explore the result.
Installation
You can install napari-xgboost via pip:
pip install napari-xgboost
To install latest development version :
pip install git+https://github.com/haesleinhuepf/napari-xgboost.git
Contributing
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the BSD-3 license, "napari-xgboost" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Metadata
Release files for napari-xgboost 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| napari_xgboost-0.1.0.tar.gz | 8.5 kB | Without provenance | Details for napari_xgboost-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| napari_xgboost-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for napari_xgboost-0.1.0-py3-none-any.whl |
Total release size: 15.6 kB
Release files / napari_xgboost-0.1.0.tar.gz
| Download URL | napari_xgboost-0.1.0.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a98e7053eee567b1e5c287b4e0e7f64f4936bb46f4ee5e7f2d08d91c14a37387
|
|
BLAKE2b-256 checksum How to use checksums |
fabb7215c26f474c3a88f498bc6d741ab23f289616c9fd3b1feeda8edca37fed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / napari_xgboost-0.1.0-py3-none-any.whl
| Download URL | napari_xgboost-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60e39daf885b4f0d2e2e29b494adbb0d7e3db7901638728a8656de94d6ba12a9
|
|
BLAKE2b-256 checksum How to use checksums |
a1cb0bb0d0d9620f39cd3f6ff11667416c9c12dd0962cbab9dee3e533c827948
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for napari-xgboost 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.