Package: fibermargin 0.1.0

fibermargin: Categorical Mask and Spatial Label Refinement

Implements 'FiberMargin', a deterministic training-free operator for repairing categorical masks and spatial labels from coordinates and labels alone. Its primary multiclass operator uses rotated space-filling-curve charts and two-sided class enclosure at one fixed geometric transport range. A class-balanced, isolation-protected chart-disagreement rule provides pointwise repair decisions and audit scores. An auxiliary nearest-neighbour ballot handles binary masks. The 'C++' engine supports two- and three-dimensional coordinates, removes constant axes independently within each specimen, and reuses one deterministic CPU worker budget without nested process pools. Reproducible mask corruptions, planar and volumetric simulators, damage-aware evaluation, and compact licensed human dorsolateral prefrontal cortex and colorectal cancer benchmarks support assessment.

Authors:Stefano Cacciatore [aut, cre, cph]

fibermargin_0.1.0.tar.gz
fibermargin_0.1.0.zip(r-4.7-x86_64)fibermargin_0.1.0.zip(r-4.7-arm64)fibermargin_0.1.0.zip(r-4.6-x86_64)fibermargin_0.1.0.zip(r-4.6-arm64)fibermargin_0.1.0.zip(r-4.5-x86_64)
fibermargin_0.1.0.tgz(r-4.6-x86_64)fibermargin_0.1.0.tgz(r-4.6-arm64)fibermargin_0.1.0.tgz(r-4.5-x86_64)fibermargin_0.1.0.tgz(r-4.5-arm64)
fibermargin_0.1.0.tar.gz(r-4.7-arm64)fibermargin_0.1.0.tar.gz(r-4.7-x86_64)fibermargin_0.1.0.tar.gz(r-4.6-arm64)fibermargin_0.1.0.tar.gz(r-4.6-x86_64)
fibermargin_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
fibermargin/json (API)

# Install 'fibermargin' in R:
install.packages('fibermargin', repos = c('https://tkcaccia.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/tkcaccia/fibermargin/issues

Pkgdown/docs site:https://tkcaccia.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

4.78 score 14 exports 1 dependencies

Last updated from:f8344ac349. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK130
linux-devel-x86_64OK154
source / vignettesOK204
linux-release-arm64OK124
linux-release-x86_64OK156
macos-release-arm64OK108
macos-release-x86_64OK187
macos-oldrel-arm64OK82
macos-oldrel-x86_64OK266
windows-devel-arm64OK203
windows-devel-x86_64OK157
windows-release-arm64OK210
windows-release-x86_64OK122
windows-oldrel-x86_64OK101
wasm-releaseOK122

Exports:available_spatial_benchmarksbenchmark_spatial_refinersclean_categorical_maskcorrupt_categorical_maskevaluate_mask_cleaningevaluate_spatial_refinementload_spatial_benchmarkrefine_spatial_labelssimulate_complex_spatial_domainssimulate_gradient_regionssimulate_spatial_clusterssimulate_spatial_domainssimulate_volumetric_domainsspatial_benchmark

Dependencies:Rcpp

FiberMargin Benchmarks
Evaluation contract | Standard metrics reported | Dataset catalog | Load one real scenario | Example benchmark run | Reproducibility scripts

Last update: 2026-09-10
Started: 2026-07-15

FiberMargin Reference Manual
Functions | Refinement | Simulation | refine_spatial_labels() contract | Evaluation | Benchmarking | Scoring glossary

Last update: 2026-09-10
Started: 2026-07-21

FiberMargin: Complete User Guide
Purpose and input contract | Quick start | Refine irregular coordinates | refine_spatial_labels() | Binary specialization | Effective 2D and genuine 3D coordinates | Multiple specimens | Deterministic CPU use | Clean categorical masks | corrupt_categorical_mask() | clean_categorical_mask() | evaluate_mask_cleaning() | Build and evaluate benchmark objects | spatial_benchmark() | evaluate_spatial_refinement() | benchmark_spatial_refiners() | Simulation functions | simulate_spatial_clusters() | simulate_spatial_domains() | simulate_complex_spatial_domains() | simulate_gradient_regions() | simulate_volumetric_domains() | Bundled real benchmarks | available_spatial_benchmarks() | load_spatial_benchmark() | End-to-end analysis template | Reporting checklist

Last update: 2026-09-10
Started: 2026-07-21