{
 "name": "tutorial-cs16-forecast-load",
 "title": "Tutorial CS-16: Forecast next week, and beat \"same as last week\"",
 "description": "Turn two and a half years of watch activity summaries into weekly training load from heart rate, build forecasts from the past only, split by time, and test whether a regression really beats the persistence baseline; end with next week's load and a range.",
 "homepage": "https://apopt.com/data/tutorials/cs16-forecast-load/",
 "licenses": [
  {
   "name": "CC BY 4.0",
   "path": "https://creativecommons.org/licenses/by/4.0/"
  }
 ],
 "created": "2026-12-03",
 "keywords": [
  "tutorial",
  "case study",
  "running",
  "watch",
  "load",
  "forecasting",
  "time series"
 ],
 "resources": [
  {
   "name": "clean-change_log.csv",
   "path": "clean/change_log.csv",
   "url": "https://apopt.com/data/tutorials/cs16-forecast-load/clean/change_log.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 109,
   "hash": "sha256:5773d21e63e256e7f070f448cb5f5bc697b90db7316b38ac7705ba926401e8ac",
   "description": "Cleaned copy written by the tutorial",
   "rows": 3,
   "schema": {
    "fields": [
     {
      "name": "rule",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "changed",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "left",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "clean-weekly_load.csv",
   "path": "clean/weekly_load.csv",
   "url": "https://apopt.com/data/tutorials/cs16-forecast-load/clean/weekly_load.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 2127,
   "hash": "sha256:b33f5a8f8502010973a7b0d352a3de0383b754de39aa3a517d3cab0b06ca3530",
   "description": "Cleaned copy written by the tutorial",
   "rows": 126,
   "schema": {
    "fields": [
     {
      "name": "week_start",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "load_au",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "expected-printed-output.txt",
   "path": "expected/printed-output.txt",
   "url": "https://apopt.com/data/tutorials/cs16-forecast-load/expected/printed-output.txt",
   "format": "text",
   "mediatype": "text/plain",
   "bytes": 2453,
   "hash": "sha256:9092d252cadcb592837397e61edc153b9764690e96010af793f16c5f9256fc8c",
   "description": "Everything the tutorial prints, cell by cell"
  },
  {
   "name": "raw-sessions_fit.csv",
   "path": "raw/sessions_fit.csv",
   "url": "https://apopt.com/data/tutorials/cs16-forecast-load/raw/sessions_fit.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 117262,
   "hash": "sha256:6ce4b0840738b80e4b3e1c2e1c65199f733fe38c0b678647229d64ccf3274731",
   "description": "693 activity summaries (running, elliptical, swimming, cycling, hiking and others), June 2024 to November 2026, as FIT session fields in the watch's own names and units (seconds, meters, UTC start plus an offset)",
   "rows": 693,
   "schema": {
    "fields": [
     {
      "name": "activity_id",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "start_time",
      "type": "string",
      "unit": "ISO 8601 UTC (ends in Z)",
      "description": "start of the activity"
     },
     {
      "name": "utc_offset_h",
      "type": "number",
      "unit": "h",
      "description": "local clock minus UTC at the start"
     },
     {
      "name": "sport",
      "type": "string",
      "unit": "text",
      "description": "sport as the watch labels it"
     },
     {
      "name": "sub_sport",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "total_timer_time",
      "type": "number",
      "unit": "s",
      "description": "timer time with pauses excluded (the moving time)"
     },
     {
      "name": "total_elapsed_time",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "total_distance",
      "type": "number",
      "unit": "m",
      "description": "distance"
     },
     {
      "name": "enhanced_avg_speed",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "enhanced_max_speed",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "avg_heart_rate",
      "type": "number",
      "unit": "beats/min",
      "description": "average heart rate (wrist)"
     },
     {
      "name": "max_heart_rate",
      "type": "number",
      "unit": "beats/min",
      "description": "highest heart rate in the activity"
     },
     {
      "name": "min_heart_rate",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "avg_running_cadence",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "max_running_cadence",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "avg_cadence",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "total_strides",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "avg_step_length",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "avg_stance_time",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "avg_vertical_oscillation",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "avg_vertical_ratio",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "avg_power",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "total_ascent",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "total_descent",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "total_calories",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "avg_temperature",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "pool_length",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "num_active_lengths",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "Effort Pace",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  }
 ],
 "sources": [
  {
   "title": "COROS Training Hub bulk export of FIT activity files (session summaries only), as published in the course case file (athletes/jh/coros-history)"
  }
 ]
}
