Skip to content

Predict spread across several ELFs, blending across their boundaries - #18

Merged
eliotmcintire merged 2 commits into
developmentfrom
feat/multi-elf-predict
Sep 24, 2026
Merged

eliotmcintire merged 2 commits into
developmentfrom
feat/multi-elf-predict

Conversation

@eliotmcintire

Copy link
Copy Markdown
Collaborator

With several fitted ELFs in one study area, every pixel now gets a spread probability. Each ELF's model predicts its own pixels and those within ELFblendWidth (default 20 km, the buffer makeELFs() uses) of them. Where predictions overlap they are averaged with weights falling linearly from 1 inside an ELF to 0 at ELFblendWidth outside it, so a boundary is 50/50. Each ELF uses its own ledger row: its parameter sets, its covMinMax_spread, and only the covariates it was fitted with. Each pixel's ELF comes from a new input, rasterToMatchLargeELF, which fireSense_ELFs makes for a studyAreaLarge.

With one ELF nothing changes. New tests use a two-ELF strip with hand-computed blend weights. The suite passes locally against fireSenseUtils 0.2.3.9039.

Draft: built on #17, and it needs fireSense_dataPrepPredict to supply both ELFs' covariates in the blend zone; it goes ready after the end-to-end 2-ELF run.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CwcjqqK59FmTJscyi7xUqv

eliotmcintire and others added 2 commits September 22, 2026 13:57
logisticAll() picks logistic3pUpper when the stored parameters include
upperTail1 (fireSenseUtils 0.2.3.9038), so the floor rises to that and a
value test pins the prediction against a hand calculation.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CwcjqqK59FmTJscyi7xUqv
Each fitted ELF's model predicts its own pixels and those within
ELFblendWidth (20 km) of them; overlapping predictions are averaged with
weights falling linearly from 1 inside an ELF to 0 at ELFblendWidth outside
it. Each ELF uses its own parameters, covMinMax_spread and covariates from
its ledger row. The per-ELF computation moves to spreadProbOneELF(); one
ELF behaves as before.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CwcjqqK59FmTJscyi7xUqv
@eliotmcintire
eliotmcintire marked this pull request as ready for review September 23, 2026 16:12
@eliotmcintire
eliotmcintire merged commit b13d8a4 into development Sep 24, 2026
7 of 9 checks passed
@eliotmcintire
eliotmcintire deleted the feat/multi-elf-predict branch September 24, 2026 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant