One pass, and no room

A check as slow as what it checks

A burst detector that subtracts a rising background's offset goes on subtracting it after the rise ends, and loses small bursts in the trough that opens. Capping the subtraction by what the difference itself shows, averaged over one slow half-life, was predicted to close the trough to under half a spread. It lifts it from 1.46 spreads to 1.24, because that average is as late as the estimate it checks. Averaged over a quarter of the time it lifts it to 0.70 and catches small bursts in the trough more often than any other design but the one that alarms on a fifth of its readings. Neither cap helps after a large burst, which every slope correction reads as a rise.

The rise the correction kept subtracting followed a corrected burst detector past the end of a rise. The detector keeps a fast decayed counter with a half-life of 13.3 seconds and a slow one with sixteen times that, 213 seconds, and alarms when their difference dd exceeds 1.85 times a spread it has learned. On a rising background dd sits at an offset, and the slope the slow counter already shows removed it by reading the rise’s slope off the slow counter and subtracting the offset that slope predicts. When the rise stops, the slow counter goes on climbing towards the new level for several of its half-lives, the estimate reads that climb as slope, and the subtraction outlives the rise. After a 40% rise the corrected difference fell to 1.46 spreads below zero and stayed more than half a spread below for seventeen minutes, and bursts of thirty arrivals in that trough were caught as rarely as 27% of the time.

Its closing section noticed that the detector holds two readings of the same quantity. The estimate predicts the offset the rise should put into dd, and the recent mean of the uncorrected dd is that offset, measured. While the rise lasts they agree. After it ends the measured offset falls as the slow counter catches up, and the prediction does not. It proposed subtracting the smaller of the two, with the measured offset taken as a decayed mean of the uncorrected difference over one slow half-life. The prediction was that the trough would fall from 1.46 spreads to under half a spread, and that bursts of thirty in the trough would be caught at least as often as by the positive clock, the design that stops learning its scale while dd stays positive. It named the risk: a burst raises the mean of dd, and the cap with it.

The cap as proposed does very little, for a reason that is the same reason the trough exists. A faster cap does most of what was predicted, and pays for it while the rise is still going. And the risk the section named turns out to be a weakness of the correction itself, cap or no cap.

The smaller of two readings

Every stream is the earlier page’s: a Poisson background at ten arrivals a second, rising by 20% or 40% of that rate every 1,000 seconds until 2,000 seconds in and level from then on. The detectors are the earlier page’s three, all at R = 16 with thresholds at 1.85 spreads, the spread the detector learns from its own quiet: the scale held while alarmed, the positive clock, and the held scale with the slope correction, its estimate decayed over one slow half-life. Two capped corrections join them. Each keeps a decayed mean of the uncorrected difference, the fast counter minus the slow, floored at zero, and subtracts the smaller of that mean and the estimate’s predicted offset. The proposal’s cap averages over one slow half-life, 213 seconds. A faster cap averages over a quarter of that, 53 seconds. A slower one over four half-lives is reported where it differs.

A burst is a number of extra arrivals in one second at a stated lag after the rise ends, the kind of burst four decays tuned to the same quiet were first given, caught when the detector alarms within ten seconds of its start. Traces are means over 24 streams and catch rates over 60, and the same streams serve every design, so every comparison between designs is paired. The capped detectors never subtract more than the uncapped one, reading by reading, and adding a cap leaves the estimate’s own prediction untouched; both are checked.

A trough lifted by a sixth

After a 40% rise ends, capping the subtraction by a mean of d over one slow half-life lifts the trough only from −1.46 spreads to −1.24; a mean over a quarter of that, 53 s, lifts it to −0.70, and the difference spends 71 s below −0.5 spreads instead of 917The mean of the corrected difference over 24 streams, in spreads of d, from 400 s before a 40% rise ends to 1,200 s after, smoothed over 21 s, for the correction without a cap and capped by a decayed mean of the uncorrected difference over 213 s and over 53 s; R = 16. Corrected, no cap: −300 s −0.31, 0 s −0.17, 100 s −0.47, 200 s −0.94, 400 s −1.12, 600 s −0.92, 800 s −1.13, 1000 s −0.56; lowest −1.46 at 233 s, 917 s below −0.5. Capped, mean over 213 s: −300 s −0.25, 0 s −0.11, 100 s −0.36, 200 s −0.76, 400 s −0.88, 600 s −0.71, 800 s −0.95, 1000 s −0.46; lowest −1.24 at 233 s, 676 s below −0.5. Capped, mean over 53 s: −300 s −0.10, 0 s 0.01, 100 s −0.11, 200 s −0.33, 400 s −0.28, 600 s −0.19, 800 s −0.58, 1000 s −0.33; lowest −0.70 at 233 s, 71 s below −0.5.-2-101-505101520minutes from the end of the risemean corrected difference, in spreads of dthe rise endscorrected, no capcapped, mean over 213 scapped, mean over 53 smean of 24 streams, 40% risezero: the background's own level
Fig. 1 The mean corrected difference over 24 streams, in spreads of d, from about seven minutes before a 40% rise ends to twenty after. Uncapped: −0.94 at 200 s after the end, lowest −1.46 at 233 s, below −0.5 for 917 s. Capped over 213 s: −0.76, lowest −1.24, below −0.5 for 676 s. Capped over 53 s: −0.33, lowest −0.70, below −0.5 for 71 s.

After a 40% rise ends, the cap averaged over one slow half-life lifts the trough from 1.46 spreads below zero to 1.24, and the difference still spends eleven minutes more than half a spread below zero. The prediction said under half a spread. After a 20% rise the cap does as little, from 0.84 to 0.72. The slower cap, averaged over four half-lives, does less still, 1.29 after the steeper rise.

The cap averaged over 53 seconds lifts the trough to 0.70 spreads after a 40% rise and to 0.48 after a 20% rise, and the difference is more than half a spread below zero for 71 seconds instead of 917. That is most of what the prediction asked for, from a cap a quarter as slow as the one it proposed.

Why the proposed cap is as late as the estimate

The cap over one slow half-life is as late as the estimate it checks: 200 s after a 40% rise ends, d itself shows 1.35 spreads of offset, the estimate predicts 2.29 and the slow cap allows 2.12, while the cap over 53 s allows 1.71 — close enough behind d to bindMeans over 24 streams, in spreads of d, smoothed over 21 s, around the end of a 40% rise: the uncorrected difference f − s, the offset the slope estimate predicts, and the decayed means of the uncorrected difference over 213 s and 53 s that cap the subtraction. What d shows, uncorrected: −200 s 2.44, 0 s 2.22, 100 s 1.92, 200 s 1.35, 400 s 0.66, 600 s 0.33, 1000 s −0.04. The estimate's prediction: −200 s 2.38, 0 s 2.39, 100 s 2.39, 200 s 2.29, 400 s 1.78, 600 s 1.25, 1000 s 0.52. The cap, mean over 213 s: −200 s 2.37, 0 s 2.42, 100 s 2.33, 200 s 2.12, 400 s 1.54, 600 s 1.05, 1000 s 0.45. The cap, mean over 53 s: −200 s 2.34, 0 s 2.49, 100 s 2.20, 200 s 1.71, 400 s 0.95, 600 s 0.55, 1000 s 0.39.0123-505101520minutes from the end of the risemean, in spreads of dthe rise endswhat d shows, uncorrectedthe estimate's predictionthe cap, mean over 213 sthe cap, mean over 53 smean of 24 streams, 40% risethe subtraction is the smaller of a cap and the prediction
Fig. 2 Means over 24 streams, in spreads of d, around the end of a 40% rise. What the uncorrected difference shows: 2.22 at the end, 1.35 at 200 s, 0.66 at 400 s, 0.33 at 600 s. The estimate’s predicted offset: 2.39, 2.29, 1.78, 1.25. The cap over 213 s: 2.42, 2.12, 1.54, 1.05. The cap over 53 s: 2.49, 1.71, 0.95, 0.55.

Two hundred seconds after a 40% rise ends, the uncorrected difference shows 1.35 spreads of offset, the estimate predicts 2.29, the cap over one slow half-life allows 2.12 and the cap over 53 seconds allows 1.71. The proposal treated the decayed mean of dd as a measurement of the offset and the estimate as a prediction of it, and expected the measurement to be the more current of the two. Both are averages over about one slow half-life of the past. The estimate is the slow counter’s change over the last half-life, decayed over one more; the cap is dd itself, decayed over one half-life. Each reports the offset as it was a few minutes ago, and a few minutes ago the offset was nearly as large as during the rise.

The uncorrected difference falls fast once the rise ends, from 2.22 spreads to 1.35 in the first two hundred seconds, because the fast counter reaches the new level within a minute and the slow counter starts closing the gap. Any reading averaged over 213 seconds has taken in barely half of that fall by then. The cap binds, since it is a little below the estimate, but only a little, and the subtraction stays more than twice what dd is showing. That is the same lag that opened the trough. The counter with no window in it put the reason in one line: a decayed counter behaves like a window of about 1.44 half-lives on a steady stream, and after a change it reports a weighted memory of the old level, not the new one. A check taken with the same memory as the thing it checks cannot catch its delay.

The 53-second cap has a quarter of that memory. At 200 seconds it allows 1.71 spreads, still above what dd shows but well under the estimate, and by 400 seconds it is within 0.3 of dd. It follows the uncorrected difference down closely enough that the subtraction can no longer push dd far below zero, which is what the trough was.

Small bursts in the trough

Bursts of 30 arrivals from 200 to 600 s after a 40% rise ends: the correction with no cap catches 27% to 43% of them, the slow cap 43% to 48%, and the fast cap 63% to 85%, against the positive clock's 43% to 55%The share of 60 streams on which a burst of 30 arrivals in one second is caught within ten seconds, against when it arrives relative to the end of a 40% rise, R = 16. Held while alarmed: −200 s 95%, 0 s 98%, 50 s 92%, 100 s 93%, 150 s 93%, 200 s 83%, 300 s 88%, 400 s 93%, 600 s 87%, 800 s 88%. The positive clock: −200 s 63%, 0 s 83%, 50 s 68%, 100 s 52%, 150 s 48%, 200 s 43%, 300 s 47%, 400 s 50%, 600 s 55%, 800 s 68%. Corrected, no cap: −200 s 77%, 0 s 92%, 50 s 82%, 100 s 62%, 150 s 57%, 200 s 40%, 300 s 43%, 400 s 33%, 600 s 27%, 800 s 47%. Capped, mean over 213 s: −200 s 78%, 0 s 93%, 50 s 82%, 100 s 67%, 150 s 72%, 200 s 48%, 300 s 48%, 400 s 43%, 600 s 43%, 800 s 62%. Capped, mean over 53 s: −200 s 85%, 0 s 93%, 50 s 92%, 100 s 77%, 150 s 80%, 200 s 63%, 300 s 75%, 400 s 75%, 600 s 85%, 800 s 82%.00.2500.5000.7501seconds from the end of the rise to the burstshare of bursts caught−200050100150200300400600800held while alarmedthe positive clockcorrected, no capcapped, mean over 213 scapped, mean over 53 sbursts of 30, 60 streamsdashed: the rise ends
Fig. 3 The share of 60 streams on which a burst of 30 arrivals in one second is caught within ten seconds, against when it arrives relative to the end of a 40% rise. From 200 to 600 s after the end: uncapped 27% to 43%; capped over 213 s 43% to 48%; capped over 53 s 63% to 85%; the positive clock 43% to 55%; the held scale 83% to 93%. 200 s before the end: 77%, 78%, 85%, 63%, 95%.

Bursts of thirty arrivals from 200 to 600 seconds after a 40% rise ends are caught 63% to 85% of the time under the 53-second cap, against 27% to 43% uncapped, 43% to 48% under the proposed cap, and 43% to 55% under the positive clock. The proposal’s second prediction, at least as often as the positive clock, holds narrowly for its own cap at 200 and 300 seconds and fails at 400 and 600. It holds comfortably for the faster one at every lag.

Bursts of 20 arrivals from 200 to 600 s after a 20% rise ends: the correction with no cap catches 37% to 43% of them, the slow cap 43% to 50%, and the fast cap 55% to 70%, against the positive clock's 58% to 62%The share of 60 streams on which a burst of 20 arrivals in one second is caught within ten seconds, against when it arrives relative to the end of a 20% rise, R = 16. Held while alarmed: −200 s 95%, 0 s 100%, 50 s 95%, 100 s 88%, 150 s 85%, 200 s 85%, 300 s 85%, 400 s 82%, 600 s 70%, 800 s 68%. The positive clock: −200 s 80%, 0 s 85%, 50 s 75%, 100 s 63%, 150 s 65%, 200 s 60%, 300 s 60%, 400 s 62%, 600 s 58%, 800 s 60%. Corrected, no cap: −200 s 68%, 0 s 67%, 50 s 70%, 100 s 48%, 150 s 57%, 200 s 42%, 300 s 43%, 400 s 37%, 600 s 38%, 800 s 42%. Capped, mean over 213 s: −200 s 75%, 0 s 78%, 50 s 72%, 100 s 55%, 150 s 60%, 200 s 48%, 300 s 50%, 400 s 43%, 600 s 43%, 800 s 47%. Capped, mean over 53 s: −200 s 82%, 0 s 83%, 50 s 73%, 100 s 67%, 150 s 67%, 200 s 62%, 300 s 67%, 400 s 70%, 600 s 55%, 800 s 62%.00.2500.5000.7501seconds from the end of the rise to the burstshare of bursts caught−200050100150200300400600800held while alarmedthe positive clockcorrected, no capcapped, mean over 213 scapped, mean over 53 sbursts of 20, 60 streamsdashed: the rise ends
Fig. 4 The same for bursts of 20 arrivals after a 20% rise. From 200 to 600 s after the end: uncapped 37% to 43%; capped over 213 s 43% to 50%; capped over 53 s 55% to 70%; the positive clock 58% to 62%; the held scale 70% to 85%.

After a 20% rise, bursts of twenty are caught 55% to 70% of the time under the 53-second cap in the same stretch, against 37% to 43% uncapped and 58% to 62% under the positive clock. The shallower trough leaves less to recover, and the faster cap recovers most of it. On a level background with no rise at all, each design catches a burst of twenty 71% to 73% of the time, so the faster cap brings the trough’s losses to within a few points of a background that never moved.

The held scale catches more than any of them, 83% to 93% of the bursts of thirty. It does that by never subtracting anything and sitting on top of an offset that keeps carrying its difference over the threshold, and on the level stretch after a 40% rise it alarms on 20.5% of its readings when no burst is there. The corrected detectors are the designs that alarm rarely; among them, only the fast cap keeps small bursts in the trough.

What the fast cap gives back is quiet. On the level stretch after a 40% rise it alarms on 4.1% of readings, against 1.2% uncapped and 1.8% under the proposed cap, and after a 20% rise on 4.7% against 2.2%. The trough was suppressing alarms as well as bursts. A detector biased below zero is a quiet detector, and part of what the uncapped correction looked like on the earlier page’s level-stretch plate was that bias.

What the cap costs while the rise lasts

While a rise lasts the cap costs what it reads: at a 5% rise the 53 s cap subtracts 62% of the true offset against the uncapped 97% and alarms on 7% of readings against 5%; at a 40% rise 89% and 11%, against 96% and 8%Backgrounds rising by 5%, 10%, 20% and 40% of their rate every 1,000 s, 24 streams each, readings after warm-up: the share that alarm, and the mean offset subtracted as a share of the rise's true offset, for the correction without a cap and with caps over 213 s and 53 s. 5%: corrected, no cap alarms 5%, recovers 97%; capped, mean over 213 s alarms 6%, recovers 81%; capped, mean over 53 s alarms 7%, recovers 62%. 10%: corrected, no cap alarms 6%, recovers 95%; capped, mean over 213 s alarms 7%, recovers 86%; capped, mean over 53 s alarms 8%, recovers 69%. 20%: corrected, no cap alarms 7%, recovers 96%; capped, mean over 213 s alarms 7%, recovers 91%; capped, mean over 53 s alarms 9%, recovers 81%. 40%: corrected, no cap alarms 8%, recovers 96%; capped, mean over 213 s alarms 9%, recovers 94%; capped, mean over 53 s alarms 11%, recovers 89%.corrected, no capcapped, mean over 213 scapped, mean over 53 sreadings that alarmshare of the true offset subtracted0%4%8%12%0%50%100%5% rise10% rise20% rise40% riserises that do not stop, 24 streamsR = 16, z 1.85
Fig. 5 Backgrounds that rise by 5%, 10%, 20% and 40% every 1,000 s and do not stop, 24 streams each: the share of readings that alarm, and the share of the rise’s true offset subtracted. Uncapped: 5% to 8% of readings, 95% to 97% of the offset. Capped over 213 s: 6% to 9%, 81% to 94%. Capped over 53 s: 7% to 11%, 62% to 89%.

While a rise lasts, the 53-second cap subtracts only 62% of the true offset on a 5% rise and 89% on a 40% rise, against the uncapped correction’s 97% and 96%, and alarms on 7% to 11% of readings against 5% to 8%. The proposal expected the cap to cost nothing during a rise, since the two readings agree there. They agree on average. Reading by reading, both are noisy, and the smaller of two noisy readings of one number is a reading biased low. A cap with a short memory is the noisier of the two, so it binds whenever its noise dips below the estimate, and the subtraction falls short of the offset by an amount set by that noise.

The shortfall is largest on the slowest rise, where the offset is smallest. A 5% rise puts only 0.31 spreads of offset into dd, and a 53-second mean of dd wanders by more than that, so the cap binds on many readings and takes away a third of a small correction. On a 40% rise the offset is 2.5 spreads, the noise is a smaller share of it, and the cap takes away a tenth. The extra alarms follow: a rise under-subtracted is a rise partly left in dd, which is the problem the correction was built to remove.

So the cap trades in both directions along the same axis. A long memory agrees with the estimate during the rise and lags with it after the rise ends. A short memory follows the end of the rise and wanders below the estimate during it. The clock a burst cannot outlast made the same trade with a clock in place of a cap: anything that can tell a rise has ended quickly can also mistake noise for an ending.

A large burst is read as a rise

A burst of 300 arrivals 200 s after a 40% rise ends blinds both slope corrections to a burst of 30 for minutes: two minutes later the uncapped correction catches 3% of them against 28% with no burst before, because the large burst raised the slope it reads by 0.75 spreads; the 53 s cap is back to 47% five minutes afterA burst of 300 arrivals in one second at 200 s after a 40% rise ends, then a burst of 30 at a gap after it; the share of 60 streams on which the second is caught within ten seconds (solid), and the share when the first burst is left out (dashed), with the mean offset subtracted just before the second burst. The positive clock: 30 s 62% against 40%; 60 s 12% against 40%; 120 s 5% against 42%; 200 s 8% against 43%; 300 s 18% against 65%; 450 s 35% against 57%. Corrected, no cap: 30 s 98% against 38%, offset 2.55 against 2.31; 60 s 23% against 38%, offset 2.70 against 2.25; 120 s 3% against 28%, offset 2.82 against 2.07; 200 s 0% against 25%, offset 2.83 against 1.86; 300 s 2% against 32%, offset 2.00 against 1.56; 450 s 2% against 38%, offset 1.15 against 1.20. Capped, mean over 213 s: 30 s 98% against 48%, offset 2.55 against 2.08; 60 s 25% against 47%, offset 2.70 against 2.02; 120 s 3% against 37%, offset 2.73 against 1.81; 200 s 0% against 40%, offset 2.06 against 1.59; 300 s 5% against 47%, offset 1.40 against 1.32; 450 s 13% against 52%, offset 0.79 against 0.97. Capped, mean over 53 s: 30 s 100% against 70%, offset 2.55 against 1.55; 60 s 27% against 77%, offset 2.70 against 1.47; 120 s 3% against 77%, offset 2.20 against 1.17; 200 s 13% against 80%, offset 0.53 against 0.91; 300 s 47% against 88%, offset 0.16 against 0.72; 450 s 58% against 77%, offset 0.13 against 0.41. At 30 s the first burst's own excursion is still above the threshold.00.2500.5000.7501seconds from a burst of 300 to a burst of 30share of the second bursts caught3060120200300450the positive clockcorrected, no capcapped, mean over 213 scapped, mean over 53 s60 streams; dashed: no burst before40% rise, first burst at 200 s
Fig. 6 A burst of 300 arrivals 200 s after a 40% rise ends, then a burst of 30 after a gap; the share of 60 streams catching the second (solid) against the second alone (dashed). Two minutes after the large burst: uncapped 3% against 28%, capped over 213 s 3% against 37%, capped over 53 s 3% against 77%, the positive clock 5% against 42%. Five minutes after: 2%, 5%, 47% and 18%.

Two minutes after a burst of 300 arrivals in the trough, a burst of thirty is caught on 3% of streams under every correction, against 28% to 77% when the large burst was not there; five minutes after, the uncapped correction still catches 2%, the proposed cap 5%, and the 53-second cap 47%. The risk the closing section named was that a burst would lift the cap. It does, but that is the smaller effect. The larger one is in the estimate. A burst of 300 raises the slow counter by about one arrival a second within a few seconds, a step its change over the last half-life reads as a steep rise, and the predicted offset climbs, from 2.07 spreads to 2.82 two minutes later on the uncapped detector. The detector subtracts a rise that is a burst, and a small burst behind it starts nearly a spread deeper than the trough already put it.

The cap cannot stop that, because the burst raises the uncorrected difference as well, so the mean of dd that would cap the subtraction rises with the estimate. The fast cap recovers sooner for the same reason it lifted the trough: its memory of the burst fades in a few minutes, and by five minutes the subtraction is a sixth of a spread where the uncapped detector’s is two. The positive clock has its own version of the loss, for a different reason. A large burst keeps dd positive long enough for its schedule to relearn a wide scale, and a burst of thirty under that scale is caught 5% to 18% of the time.

The slope the slow counter already shows measured what reading a burst as slope costs the burst itself, and found at most 3.7 seconds of detection. It did not measure what it costs the next burst, and that is minutes. A burst detector whose correction is a slope estimate has a blind interval after every large burst. It is about as long as the estimate’s memory, because the estimate has to forget the burst before it stops subtracting it.

What the prediction got right

The closing section predicted that capping the subtraction by a mean of dd over one slow half-life would close the trough after a 40% rise to under half a spread. It lifts it from 1.46 to 1.24, because a mean of dd over one slow half-life is as late as the estimate it was meant to check: both remember the rise for a few minutes after it ends. It predicted bursts of thirty in the trough would be caught at least as often as by the positive clock. Under that cap they are at two of four lags.

A cap with a quarter of the memory meets both predictions, 0.70 spreads and 63% to 85% of the bursts, and pays for it during the rise: it subtracts 62% to 89% of the offset where the uncapped correction subtracts 96%, and alarms on a few per cent more readings, because the smaller of two noisy readings is biased low.

The risk the section named is real and larger than it supposed. A large burst raises the cap, but it raises the estimate more, and the correction then subtracts the burst as if it were a rise, for as long as its estimate remembers it. No cap built from the same counters removes that, since the burst is in the cap’s reading too.

What the measurement leaves out

Two cap lengths. The caps average over 213 and 53 seconds, with a slower one over 852 noted once. A cap between the two would sit between them on every plate, and nothing here finds the best one, which depends on how a system weighs small bursts after a rise against false alarms during one.

One burst size behind another. The large burst is 300 arrivals and the small one thirty, both one second long, 200 seconds into the trough of a 40% rise. A large burst on a level background, with no trough to deepen, would cost the next burst less, and that was not measured.

The correction’s own estimate is unchanged. The cap checks the estimate; it does not make the estimate ignore a burst. An estimate that discounted the readings taken while the detector was alarmed would attack the blind interval directly.

Still open: an estimate that does not read the alarms

The blind interval after a burst comes from the estimate reading the burst as slope. A detector already knows when it is alarmed, and a reading taken while it is alarmed is a reading the burst is in. The estimate could skip those readings: hold its slope while the detector alarms, and for one slow half-life after, the time the burst takes to leave the slow counter’s change over a half-life, and resume reading the slope only once the burst can no longer be in it.

The measurement that follows gives the uncapped and the 53-second-capped corrections that hold and repeats the second-burst plate, the trough and the rising backgrounds. The prediction is that two minutes after a burst of 300 the second burst is caught as often as with no first burst, the 28% and 77% the dashed lines show, since the subtraction would not have moved. It could fail on the rise itself. A rise is also a stretch in which the detector alarms more often than usual, 5% to 11% of readings here, and an estimate that skips every alarmed reading, and the half-life after each, may stop reading the slope at all on a steep rise, where it is most needed. The question is whether a detector can learn its background from only the readings in which it has seen nothing, or whether a background that rises fast enough is always partly hidden behind the alarms it causes.

Named alongside this one

Essays reaching for the same objects. Nobody chose these; they are what the concept index makes visible.

The objects this essay names

Each one links to every other essay that touches it.

Design parameterEstimatorExponential decayFalse alarmHalf lifePredictionStreaming model