foreBlocks Docs¶
Forecasting, preprocessing, search, and tooling in one repo
foreblocks is the forecasting library. foretools is the
companion toolbox. Start from the stable training path, branch into preprocessing
or transformers, and only then move into heavier workflows like DARTS search,
conformal intervals, or the visual Web UI.
ForecastingModel + Trainer + ModelEvaluator.Start here¶
If you are new to the project, this is the safest reading order:
- Overview
- Getting Started
- Public API
- The subsystem guide that matches your workflow
Train a baseline first
Use the smallest reliable path through ForecastingModel, Trainer, and NumPy-backed dataloaders.
Start from raw series
Use TimeSeriesHandler when you need scaling, filtering, imputation, and window generation from a [T, D] array.
Transformer and MoE
Transformer, attention, patching, and MoE guides cover the more configurable internals.
Hybrid Mamba (SSM)
Pure SSM and hybrid SSM+attention blocks with Triton/CUDA kernel backends.
Search architectures
DARTS staged NAS pipeline: zero-cost ranking, bilevel search, and result analysis.
Prediction intervals
Post-hoc conformal prediction — 10 methods from split conformal to online ACI variants.
Documentation map¶
Step-by-step runnable examples:
Subsystem deep dives:
Companion utilities:
Internals and design notes:
Stable public entry points¶
Start from the top-level exports before reaching for deep imports:
Notes¶
- The canonical docs source lives in
docs/. - The published versioned docs live under
/docs/. - The static landing page at site root lives in
web/. foretoolsis documented here too, even when utilities are not re-exported from top-levelforeblocks.