{
 "name": "tutorial-cs05-walk-jog-run",
 "title": "Tutorial CS-5: Phone in a pocket: walk, jog, or run?",
 "description": "Profile, clean and window eight phone accelerometer logs (Part 1), then classify walk, jog and run for a person the model has never seen, against the majority-class baseline, with balancing applied to the training rows only (Part 2).",
 "homepage": "https://apopt.com/data/tutorials/cs05-walk-jog-run/",
 "licenses": [
  {
   "name": "CC BY 4.0",
   "path": "https://creativecommons.org/licenses/by/4.0/"
  }
 ],
 "created": "2026-12-03",
 "keywords": [
  "tutorial",
  "case study",
  "phone",
  "accelerometer",
  "classification",
  "imbalance",
  "split by person"
 ],
 "resources": [
  {
   "name": "clean-change_log.csv",
   "path": "clean/change_log.csv",
   "url": "https://apopt.com/data/tutorials/cs05-walk-jog-run/clean/change_log.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 83,
   "hash": "sha256:3da5286a20026af5d31fd603297891c247b186dd8406bfcf3d1bb8773c15a3d9",
   "description": "Cleaned copy written by the tutorial",
   "rows": 2,
   "schema": {
    "fields": [
     {
      "name": "person",
      "type": "string",
      "unit": "text",
      "description": "who carried the phone (diary)"
     },
     {
      "name": "rule",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "rows",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "clean-samples_clean.csv",
   "path": "clean/samples_clean.csv",
   "url": "https://apopt.com/data/tutorials/cs05-walk-jog-run/clean/samples_clean.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 1222709,
   "hash": "sha256:a32d89162e8948c5bf401cd99359e2a2b321d5aea9c1826fbd93a419002bf329",
   "description": "Cleaned copy written by the tutorial",
   "rows": 73150,
   "schema": {
    "fields": [
     {
      "name": "person",
      "type": "string",
      "unit": "text",
      "description": "who carried the phone (diary)"
     },
     {
      "name": "t_s",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "mag",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "clean-windows.csv",
   "path": "clean/windows.csv",
   "url": "https://apopt.com/data/tutorials/cs05-walk-jog-run/clean/windows.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 6145,
   "hash": "sha256:0e26001a26e3087fc4a727b63d4f4d55b424c1737b96638a1d0b46ea04f3ae8c",
   "description": "Cleaned copy written by the tutorial",
   "rows": 289,
   "schema": {
    "fields": [
     {
      "name": "person",
      "type": "string",
      "unit": "text",
      "description": "who carried the phone (diary)"
     },
     {
      "name": "t0_s",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "label",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "gap",
      "type": "string",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "clean-windows_features.csv",
   "path": "clean/windows_features.csv",
   "url": "https://apopt.com/data/tutorials/cs05-walk-jog-run/clean/windows_features.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 9585,
   "hash": "sha256:30dc12c092459a50ed10855335bda298f94a1567648407ec905053865492405c",
   "description": "Cleaned copy written by the tutorial",
   "rows": 289,
   "schema": {
    "fields": [
     {
      "name": "person",
      "type": "string",
      "unit": "text",
      "description": "who carried the phone (diary)"
     },
     {
      "name": "t0_s",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "label",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "gap",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "cadence_hz",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "bounce_g",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "expected-printed-output.txt",
   "path": "expected/printed-output.txt",
   "url": "https://apopt.com/data/tutorials/cs05-walk-jog-run/expected/printed-output.txt",
   "format": "text",
   "mediatype": "text/plain",
   "bytes": 3044,
   "hash": "sha256:a3a744cb4f5169de638340b088be3ac45d043b3ef1b7d6848e51af8bf7f549a6",
   "description": "Everything the tutorial prints, cell by cell"
  },
  {
   "name": "raw-diary.csv",
   "path": "raw/diary.csv",
   "url": "https://apopt.com/data/tutorials/cs05-walk-jog-run/raw/diary.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 651,
   "hash": "sha256:9534b2eee467d128e9f647c0d9ad2eab38bdfeacd22e2f20c05fe752edb3803f",
   "description": "the start of each part of each session (stand, walk, jog, run), in whole seconds, as the person wrote it (SYNTHETIC)",
   "rows": 56,
   "schema": {
    "fields": [
     {
      "name": "person",
      "type": "string",
      "unit": "text",
      "description": "who carried the phone (diary)"
     },
     {
      "name": "start_s",
      "type": "number",
      "unit": "s from the start of the log",
      "description": "second the part began"
     },
     {
      "name": "activity",
      "type": "string",
      "unit": "text",
      "description": "what the person was doing"
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "raw-phone_p1.csv",
   "path": "raw/phone_P1.csv",
   "url": "https://apopt.com/data/tutorials/cs05-walk-jog-run/raw/phone_P1.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 384013,
   "hash": "sha256:1a2576d7ff347570768bb34bb356aa5f735ece5a3d5548e4e7548342d946b8f5",
   "description": "one of eight SYNTHETIC phone accelerometer logs (P1 to P8), about three minutes at about 50 samples a second; time in ns, x, y, z in m/s² along the phone's axes",
   "rows": 9350,
   "schema": {
    "fields": [
     {
      "name": "time",
      "type": "number",
      "unit": "ns since 1970 (UTC)",
      "description": "sample time"
     },
     {
      "name": "x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "z",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "raw-phone_p2.csv",
   "path": "raw/phone_P2.csv",
   "url": "https://apopt.com/data/tutorials/cs05-walk-jog-run/raw/phone_P2.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 359870,
   "hash": "sha256:c2dd349d0f81177b5d7a7423d9e2c5c625c94bc5727290cbf116c78865f0eec7",
   "description": "Input file the tutorial opens",
   "rows": 8930,
   "schema": {
    "fields": [
     {
      "name": "time",
      "type": "number",
      "unit": "ns since 1970 (UTC)",
      "description": "sample time"
     },
     {
      "name": "x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "z",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "raw-phone_p3.csv",
   "path": "raw/phone_P3.csv",
   "url": "https://apopt.com/data/tutorials/cs05-walk-jog-run/raw/phone_P3.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 337052,
   "hash": "sha256:f75f6a46bc9ae1af0d66a1acf7b5d25e01d9431db768d1ccd0c058c6c7b14716",
   "description": "Input file the tutorial opens",
   "rows": 8550,
   "schema": {
    "fields": [
     {
      "name": "time",
      "type": "number",
      "unit": "ns since 1970 (UTC)",
      "description": "sample time"
     },
     {
      "name": "x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "z",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "raw-phone_p4.csv",
   "path": "raw/phone_P4.csv",
   "url": "https://apopt.com/data/tutorials/cs05-walk-jog-run/raw/phone_P4.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 355650,
   "hash": "sha256:5eb88f4147d630548741a5e5048ef1a40ff2caca7b2d693f25d8ae7e9f389602",
   "description": "Input file the tutorial opens",
   "rows": 9100,
   "schema": {
    "fields": [
     {
      "name": "time",
      "type": "number",
      "unit": "ns since 1970 (UTC)",
      "description": "sample time"
     },
     {
      "name": "x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "z",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "raw-phone_p5.csv",
   "path": "raw/phone_P5.csv",
   "url": "https://apopt.com/data/tutorials/cs05-walk-jog-run/raw/phone_P5.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 363371,
   "hash": "sha256:3950cb3420bdbb1224cc32dfd73679cfe0f94d7955198f6fbdddbca049aba69a",
   "description": "Input file the tutorial opens",
   "rows": 9250,
   "schema": {
    "fields": [
     {
      "name": "time",
      "type": "number",
      "unit": "ns since 1970 (UTC)",
      "description": "sample time"
     },
     {
      "name": "x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "z",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "raw-phone_p6.csv",
   "path": "raw/phone_P6.csv",
   "url": "https://apopt.com/data/tutorials/cs05-walk-jog-run/raw/phone_P6.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 372364,
   "hash": "sha256:80b9cc64c1af967f5d94679be940dba7da8a5920aeedd19998a6b7ad773c5fe8",
   "description": "Input file the tutorial opens",
   "rows": 9250,
   "schema": {
    "fields": [
     {
      "name": "time",
      "type": "number",
      "unit": "ns since 1970 (UTC)",
      "description": "sample time"
     },
     {
      "name": "x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "z",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "raw-phone_p7.csv",
   "path": "raw/phone_P7.csv",
   "url": "https://apopt.com/data/tutorials/cs05-walk-jog-run/raw/phone_P7.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 363106,
   "hash": "sha256:06a40b800471a230029961fdd3be3ad85620a65b3cde574e46b927a25d5d2f33",
   "description": "Input file the tutorial opens",
   "rows": 9150,
   "schema": {
    "fields": [
     {
      "name": "time",
      "type": "number",
      "unit": "ns since 1970 (UTC)",
      "description": "sample time"
     },
     {
      "name": "x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "z",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "raw-phone_p8.csv",
   "path": "raw/phone_P8.csv",
   "url": "https://apopt.com/data/tutorials/cs05-walk-jog-run/raw/phone_P8.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 368792,
   "hash": "sha256:50bc5ecdb6171edebb70882e4b9539ffa33adfef64ac185a435942a114161377",
   "description": "Input file the tutorial opens",
   "rows": 9600,
   "schema": {
    "fields": [
     {
      "name": "time",
      "type": "number",
      "unit": "ns since 1970 (UTC)",
      "description": "sample time"
     },
     {
      "name": "x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "z",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  }
 ],
 "sources": [
  {
   "title": "Data-Driven Athletics tutorials (IRSRI, 2027): synthetic phone accelerometer logs and diary made by prepare.py; no real person"
  }
 ]
}
