tests/testthat/_snaps/step_adjust_latency.md

printing step_adjust_latency results in expected output

Code
  r5
Message

  -- Epi Recipe ------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  raw:        2
  geo_value:  1
  time_value: 1

  -- Operations 
  1. extend_lags: case_rate with latency set at train time
  2. Lagging: death_rate by 0, 6, 11
  3. Lagging: case_rate by 1, 5
  4. Leading: death_rate by 7
Code
  prep(r5, real_x)
Message

  -- Epi Recipe ------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  raw:        2
  geo_value:  1
  time_value: 1

  -- Training information 
  Training data contained 200 data points and no incomplete rows.

  -- Operations 
  1. extend_lags: case_rate with forecast date 2021-07-24 | Trained
  2. Lagging: death_rate by 0, 6, 11, (lat adj) | Trained
  3. Lagging: case_rate by 6, 10, (lat adj) | Trained
  4. Leading: death_rate by 7 | Trained
Code
  r6
Message

  -- Epi Recipe ------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  raw:        2
  geo_value:  1
  time_value: 1

  -- Operations 
  1. Lagging: death_rate by 0, 7, 14
  2. extend_ahead: all future predictors with latency set at train time
  3. Leading: death_rate by 7
Code
  prep(r6, covid_case_death_rates)
Message

  -- Epi Recipe ------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  raw:        2
  geo_value:  1
  time_value: 1

  -- Training information 
  Training data contained 20496 data points and no incomplete rows.

  -- Operations 
  1. Lagging: death_rate by 0, 7, 14 | Trained
  2. extend_ahead: case_rate, ... with forecast date 2023-03-10 | Trained
  3. Leading: death_rate by -441, (lat adj) | Trained


cmu-delphi/epipredict documentation built on March 5, 2025, 12:17 p.m.