A plugin for pixel classification using XGBoost
Project description
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.
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
Hashes for napari_xgboost-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60e39daf885b4f0d2e2e29b494adbb0d7e3db7901638728a8656de94d6ba12a9 |
|
MD5 | e2eaba36bffbb871269f20325554d8ea |
|
BLAKE2b-256 | a1cb0bb0d0d9620f39cd3f6ff11667416c9c12dd0962cbab9dee3e533c827948 |