EN
Live Demo

Wiki

How Longev AI learns: rules, data and a tested forecast

Longev AI runs on explainable clinical rules over the guest's own baseline, collects exposure-to-response pairs on top and openly measures its own forecast error.

Updated 2026-08-28 · Sample procedures Luxury Spa & Medical Wellness Hotel Prezident

Contents
  1. In short
  2. Rules, not a black box — and why
  3. The own baseline instead of a population norm
  4. The engine's layers
  5. Two datasets a PMS does not have
  6. The forecast test: an error instead of promises
  7. The roadmap
  8. Questions and answers
  9. Sources
  10. Related

In short

Rules, not a black box — and why

Longev AI is a deterministic engine: the same night under the same thresholds produces the same sheet. That is not a limitation the platform is shy about — it is an engineering decision with three reasons.

First, the doctor's signature. The morning sheet is signed, and every line on it must answer "why": "resting pulse 68 against your average of 61 — we propose swapping the demanding procedure". A recommendation that cannot be explained with a number is never printed.

Second, the regulatory frame. A system that silently changes medical prescriptions from an opaque model drifts towards being a medical device and towards the high-risk tier of the European AI regulation (EU AI Act). The platform deliberately stays lifestyle support: it proposes, explains and waits for the doctor (the legal frame).

Third, the cold start. A trainable model without data is worse than rules: there is nothing for it to learn from in a hotel that joined yesterday. Rules work from the first guest — and the data for future models starts accumulating from the first morning, as described below.

The own baseline instead of a population norm

Nearly every threshold compares the guest with themselves. The baseline is the average of their own stay: shared arrival days honestly stay out of it, and until at least two days are measured, the baseline flags are held back altogether — a comparison against a single night would be a coin toss printed as a finding. The doctor can raise that guard up to 5 days.

Heart-rate variability (HRV — how uneven the pauses between heartbeats are) has a second source of truth: the guest's own corridor, which the Firstbeat engine inside Garmin learns over about three weeks. When the watch that has known the guest longer than our two-day baseline says "below the corridor", the readiness component cannot come out green — the watch's verdict outranks our arithmetic, and in exactly one direction.

The same numbers make up the day's readiness — one figure from 0 to 100, the counterpart of Oura's Readiness and WHOOP's Recovery, but on Garmin data and under rules the hotel's doctor moves: Body Battery weighs 30 points, HRV and sleep 25 each, resting pulse and yesterday's load 10 each. A component with no data is not padded with a hospital average — it drops out, the weights renormalise, and when less than half the weight has data, no verdict is issued at all.

The doctor's morning sheet: readiness 49 of 100 with its breakdown — every line carries its number, its baseline and its reason
The doctor's morning sheet: readiness 49 of 100 with its breakdown — every line carries its number, its baseline and its reason
×

The engine's layers

LayerWhat it doesWhere it is covered
Input25 metrics from the Garmin watch and scale, the intake questionnaire, the doctor's prescriptions, the food diarywhat the watch measures
Own baselinethe guest's stay average per metric; a guard against verdicts from one nightthis page
Ruleseight single-night flags and six several-day flags; up to 20 of the hotel's own rules; thresholds moved by the doctorthe numbers the day is corrected by
Constraintscontraindications, the rhythm of the course, "paid items are the doctor's"the plan algorithm
Outputthe morning sheet, readiness, today's plan corrections — each with its reasonthe morning round

Two datasets a PMS does not have

A hotel property-management system (PMS) can connect the Garmin Health API and receive pulse and sleep. What it lacks are the two things a training set is made of: the doctor's prescriptions and the food diary. So the platform grows two datasets, and both exist only where biometrics, prescriptions and nutrition live in one loop.

The forecast test: an error instead of promises

"The platform gets more accurate" is a sentence an audit is entitled to see as a number. For that the admin panel has a forecast check: over the whole accumulated history the platform retro-predicts every morning — resting pulse, HRV, Body Battery and sleep score — and computes the mean absolute error (MAE): by how many units the forecast misses on average.

It is computed walk-forward — "moving only forwards": the forecast for a morning is built strictly from the days before it, and even the load coefficient keeps learning only on pairs that have already happened by that point. Peeking into the future to fit the answer is impossible by construction.

ModelHow it predictsWhy it is in the table
"As yesterday"tomorrow will be today's numberthe naive bar: a model that does not beat it has no right to be called a model
"Own baseline"the guest's stay average — the same one the morning sheet printsshows what personalisation alone is worth
"Baseline + load"the own baseline with a correction for yesterday's overload; the coefficient activates after 8 accumulated pairsthe first trainable element — its contribution visible separately

The table is deliberately able to show the uncomfortable: on a short history the naive "as yesterday" often beats the corrections — and that is a correct result, not a malfunction. The bar for future models is set by this same table: a model ships when it reliably beats the naive one on the hotel's data, not when it sounds impressive.

The roadmap

Questions and answers

Sources

Related

← All articles