Skip to main content

GETTER One: Geometric Event-driven Tensor-based Time-series Extraction & Recognition - Structural event detection and causal network extraction for N-dimensional time series

Project description

Lambdaยณ

GETTER One

Geometric Event-driven Tensor-based Time-series Extraction & Recognition

Omnidimensional Network Engine

PyPI Python License: MIT


v0.1.2 (2026-04) โ€” ๐Ÿ“„ Paper Submission Version

This version corresponds to the manuscript submitted to Information Science.

pip install getter-one==0.1.2

GETTER One is a discrete geometric framework for structural event detection and causal network extraction in N-dimensional time series.

It is not a forecasting model. It detects what is changing, when, and which dimensions are driving the change โ€” using closed-form geometric computations with no MCMC, no gradient descent, and no threshold tuning.

Key Features

  • Lambdaยณ (ฮ›ยณ) structural analysis โ€” Computes displacement vectors (ฮ›F), structural tension (ฯT), cross-dimension synchrony (ฯƒโ‚›), and cooperative events (ฮ”ฮ›C) in closed form
  • Causal network extraction โ€” Identifies directed, time-lagged causal relationships between dimensions
  • Statistical confidence โ€” Permutation tests, bootstrap confidence intervals, and effect sizes (no Bayesian inference required)
  • Domain-agnostic โ€” Works on any N-dimensional time series: weather, finance, sensors, biology
  • Minimal dependencies โ€” Core requires only numpy, scipy, pandas
  • GPU-ready โ€” Optional CUDA acceleration for large-scale datasets via CuPy

Installation

pip install getter-one

Optional extras:

pip install getter-one[gpu]       # CUDA/CuPy acceleration
pip install getter-one[viz]       # matplotlib + plotly
pip install getter-one[full]      # everything

Quick Start

from getter_one.pipeline import run

# One line โ€” full pipeline
result = run("weather.csv", target="precipitation")
print(result.report)

Step by Step

from getter_one.data import load
from getter_one.structures import LambdaStructuresCore
from getter_one.analysis import NetworkAnalyzerCore, assess_confidence

# 1. Load data
dataset = load("weather.csv", target="precipitation", normalize="range")

# 2. Compute ฮ›ยณ structures
core = LambdaStructuresCore()
structures = core.compute_lambda_structures(
    dataset.state_vectors, window_steps=24,
    dimension_names=dataset.dimension_names,
)

# 3. Extract causal network
analyzer = NetworkAnalyzerCore(sync_threshold=0.3, causal_threshold=0.25, max_lag=12)
network = analyzer.analyze(dataset.state_vectors, dimension_names=dataset.dimension_names)

# 4. Assess confidence
confidence = assess_confidence(
    state_vectors=dataset.state_vectors,
    lambda_structures=structures,
    network_result=network,
    dimension_names=dataset.dimension_names,
)

CLI

# Run full pipeline
getter-one run weather.csv --target precipitation --report report.md

# Data preparation
getter-one-loader load weather.csv --target precipitation -o prepared.csv
getter-one-loader merge weather.csv air_quality.json --time date -o merged.csv
getter-one-loader info data.csv

# System info
getter-one info
getter-one check-gpu

Pipeline Architecture

Input Data (csv/json/parquet/xlsx/npy)
  โ”‚
  โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Lambdaยณ Structures (ฮ›ยณ)        โ”‚  Closed-form geometric computation
โ”‚  ฮ›F, ฮ›FF, ฯT, ฯƒโ‚›, Q_ฮ›, ฮ”ฮ›C   โ”‚  No parameters to tune
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
               โ”‚
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
  โ–ผ            โ–ผ            โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚Bound โ”‚  โ”‚Topo  โ”‚  โ”‚Anomaly   โ”‚  Detection modules
โ”‚ary   โ”‚  โ”‚Break โ”‚  โ”‚Detection โ”‚  (GPU-accelerated)
โ””โ”€โ”€โ”ฌโ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”ฌโ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜
   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
             โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Causal Network Analysis        โ”‚  Sync + directed causal links
โ”‚  Sync matrix, lag estimation    โ”‚  Hub/driver/follower detection
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
               โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Confidence Assessment          โ”‚  Permutation test โ†’ p-values
โ”‚  No MCMC, no Bayesian inference โ”‚  Bootstrap โ†’ confidence intervals
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
               โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Report Generation              โ”‚  Markdown report with all results
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

What GETTER One Is (and Isn't)

GETTER One Traditional Models
Purpose Structural event detection Forecasting / prediction
Method Discrete geometry (closed-form) Regression / deep learning
Parameters Window size only Thresholds, hyperparameters
Output Events, boundaries, causal network Predicted values
Relationship Complements prediction models Competes with each other

GETTER One detects what changed and why, not what will happen next. It can be used as a feature extractor for prediction models โ€” experiments show that combining raw data with GETTER One features improves Transformer event detection F1 by +5.7% over raw data alone, and outperforms adding 7 additional weather variables (+4.3% vs +6.1%).

Benchmark Results

Standard Benchmark

Causal inference benchmark against 5 established methods on synthetic data with ground truth (6 scenarios, 20 repeats each):

Method Composite F1 (dir) Lag MAE Sign Acc Spurious
PCMCI+ 0.877 0.740 ยฑ 0.364 0.000 ยฑ 0.000 1.000 ยฑ 0.000 0.000 ยฑ 0.000
VAR Granger 0.853 0.697 ยฑ 0.353 0.010 ยฑ 0.100 0.990 ยฑ 0.100 0.050 ยฑ 0.154
GETTER One 0.821 0.792 ยฑ 0.366 0.000 ยฑ 0.000 1.000 ยฑ 0.000 0.500 ยฑ 0.000
Event XCorr 0.537 0.534 ยฑ 0.403 0.244 ยฑ 0.825 โ€” 0.300 ยฑ 0.340
Transfer Entropy 0.446 0.432 ยฑ 0.368 0.413 ยฑ 1.396 โ€” 0.525 ยฑ 0.112
Graphical Lasso 0.120 โ€” โ€” โ€” 1.000 ยฑ 0.000

Per-scenario F1 (directed):

Scenario GETTER One PCMCI+ VAR Granger TE EventXCorr
S0 null 0.000 0.000 0.000 0.000 0.000
S1 delayed 1.000 ยฑ 0.000 0.825 ยฑ 0.183 0.662 ยฑ 0.141 0.645 ยฑ 0.233 0.450 ยฑ 0.446
S2 asymmetric 0.950 ยฑ 0.122 0.883 ยฑ 0.163 0.658 ยฑ 0.037 0.662 ยฑ 0.177 0.520 ยฑ 0.434
S5 confounder 0.800 ยฑ 0.000 0.990 ยฑ 0.045 0.960 ยฑ 0.082 0.734 ยฑ 0.092 0.623 ยฑ 0.213
S7 event delayed 1.000 ยฑ 0.000 0.825 ยฑ 0.183 0.917 ยฑ 0.148 0.342 ยฑ 0.417 0.842 ยฑ 0.206
S8 event asym 1.000 ยฑ 0.000 0.917 ยฑ 0.148 0.983 ยฑ 0.075 0.212 ยฑ 0.356 0.767 ยฑ 0.262

GETTER One achieves F1 = 1.000 with ฯƒ = 0.000 (perfectly deterministic) on all event-driven scenarios, with zero lag error and perfect sign accuracy across all 20 trials. Its closed-form computation produces identical results regardless of noise realization โ€” a direct consequence of the displacement-based (diff) approach inherited from molecular dynamics trajectory analysis.

Hell Mode Robustness Benchmark

Causal detection under non-stationary, non-linear, non-Gaussian conditions (8 scenarios ร— 5 repeats, ground truth: X0โ†’X1 lag=2, X0โ†’X2 lag=3):

Method F1 Precision Recall Lag MAE Detected Spurious
GETTER One 0.394 ยฑ 0.406 0.471 0.362 0.000 1.4 0.118
PCMCI+ 0.376 ยฑ 0.271 0.279 0.738 0.306 8.6 0.142
VAR Granger 0.283 ยฑ 0.308 0.217 0.475 0.630 7.5 0.260
Transfer Entropy 0.164 ยฑ 0.240 0.119 0.887 0.770 84.3 0.188

Per-scenario F1 (Hell Mode):

Scenario GETTER One PCMCI+ VAR Granger TE
H1 pulse 0.513 0.494 0.431 0.385
H2 phase jump 0.547 0.183 0.093 0.025
H3 bifurcation 0.000 0.142 0.040 0.025
H4 cascade 0.133 0.649 0.581 0.668
H5 resonance 0.960 0.774 0.000 0.043
H6 decay 0.533 0.428 0.813 0.044
H7 multi-hell 0.467 0.238 0.304 0.029
H8 progressive 0.000 0.100 0.000 0.092

GETTER One achieves the highest F1 and precision under non-ideal conditions, with the fewest detected links (1.4 avg vs ground truth of 2) โ€” demonstrating conservative, high-confidence detection rather than over-reporting. Each method has characteristic strengths: GETTER One excels at phase jumps and resonance, PCMCI+ at cascades, and VAR Granger at structural decay.

Real-World Application: Weather Network

Analysis of 7 cities around Tokyo (hourly data, October 2024) reveals physically correct causal structures:

Precipitation causal network:

  • Nagano โ†’ Gunma (lag=1h) โ†’ Saitama (lag=1h) โ€” inland-to-plains propagation
  • Yamanashi โ†’ Gunma (lag=2h) โ€” basin-to-plains flow
  • Drivers: Nagano, Yamanashi (mountain sources)
  • Followers: Saitama, Tochigi (downstream receivers)

Cross-variable causality (42D full analysis):

  • Temperature changes โ†’ Surface pressure changes (lag=2-3h) โ€” thermodynamic law rediscovered from data alone

Supported Data Formats

Format Extension Read Write
CSV / TSV .csv, .tsv โœ… โœ…
JSON .json โœ… โ€”
Parquet .parquet โœ… โ€”
Excel .xlsx, .xls โœ… โ€”
NumPy .npy, .npz โœ… โœ…

Project Structure

getter_one/
โ”œโ”€โ”€ data/           Data loading & merging (multi-format)
โ”œโ”€โ”€ structures/     Lambdaยณ structural computation (CPU)
โ”œโ”€โ”€ core/           GPU infrastructure (CuPy/CUDA)
โ”œโ”€โ”€ detection/      Boundary, topology, anomaly, phase-space detection
โ”œโ”€โ”€ analysis/       Network analysis, confidence assessment, report generation
โ”œโ”€โ”€ pipeline.py     Full pipeline orchestration
โ””โ”€โ”€ cli.py          Command-line interface

Related Projects

  • BANKAI-MD โ€” GPU-accelerated molecular dynamics analysis built on the same Lambdaยณ theory. GETTER One is the domain-agnostic generalization; BANKAI-MD is the MD-specialized implementation.

Citation

Paper in preparation. If you use GETTER One in your research, please cite this repository.

License

MIT License โ€” see LICENSE for details.


Built with ๐Ÿ’• by Masamichi & Tamaki

CHANGE EAGLE // Aerial Type // Structure Detection

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

getter_one-0.2.2.tar.gz (127.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

getter_one-0.2.2-py3-none-any.whl (138.1 kB view details)

Uploaded Python 3

File details

Details for the file getter_one-0.2.2.tar.gz.

File metadata

  • Download URL: getter_one-0.2.2.tar.gz
  • Upload date:
  • Size: 127.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for getter_one-0.2.2.tar.gz
Algorithm Hash digest
SHA256 0ec462d14d55d5ee3d7afde7bdee8e333b3062f80a6b93c0b48acce2b0e56f84
MD5 14c65da8090f1fa22d9157208aa54512
BLAKE2b-256 36eb1f8b265822d4061c74cd7c7f2b090c29e52ed36a1974c0c4c179cd094ccd

See more details on using hashes here.

Provenance

The following attestation bundles were made for getter_one-0.2.2.tar.gz:

Publisher: python-publish.yml on miosync-masa/getter-one

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file getter_one-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: getter_one-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 138.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for getter_one-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b6a399c75ce8937db98a1c3041adfbfa715c190fe7d7f227fb59fef689f0a658
MD5 ba2d2289edddac21c39b810e6072d6a4
BLAKE2b-256 7425a39d8f099288ebb31b5a58ce41ddfcb0196eb59f36d66bd3df1098a333ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for getter_one-0.2.2-py3-none-any.whl:

Publisher: python-publish.yml on miosync-masa/getter-one

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page