Compute summary statistics between two binary masks.
Project description
Compute summary statistics between two sets of N-dimensional binary masks.
Installation instructions
pip install mask_stats
Usage
from mask_stats import compute_evaluations_for_mask_pairs
true_masks = [mask1, mask2, ..., maskN]
pred_masks = [pred1, pred2, ..., predN]
true_eval, pred_eval = compute_evaluations_for_mask_pairs(true_masks, pred_masks)
Todo
Documentation
More tests
Function to evaluate single mask pair
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
mask_stats-0.3.0.tar.gz
(18.4 kB
view details)
Built Distribution
File details
Details for the file mask_stats-0.3.0.tar.gz
.
File metadata
- Download URL: mask_stats-0.3.0.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f914d6760a16d9b09e0d1c5e39db9e6c942b7932dfea8ae4c0fa400faae9862 |
|
MD5 | 7477622b993b0cdb6282dea2533e2955 |
|
BLAKE2b-256 | 2f4a322681bd2b1cc5a82132dd5fb8d3655493f2fdab981df051363062ed3cae |
File details
Details for the file mask_stats-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: mask_stats-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4425b98b18b73c5a8e984dda83a060c86cb43ce6479194361e5e40b3d07a2985 |
|
MD5 | 188760cf98f5bfa3a1bb968edfd7ae0e |
|
BLAKE2b-256 | 5cc679b117b96f21170d743ad125ffb581eeb215c9b190e11317390df8478ebc |