{
 "name": "tutorial-cs13-peak-force",
 "title": "Tutorial CS-13: Predicting peak left-leg force",
 "description": "Reproduce the course regression of peak left-foot force from gait measures, then find out why its R² of 0.94 does not hold for a new runner, and what physics adds.",
 "homepage": "https://apopt.com/data/tutorials/cs13-peak-force/",
 "licenses": [
  {
   "name": "CC BY 4.0 (tutorial); the data files are redistributed from the Data-Driven Engineering course with credit",
   "path": null
  }
 ],
 "created": "2026-12-03",
 "keywords": [
  "tutorial",
  "case study",
  "running",
  "force",
  "regression",
  "leakage",
  "physics"
 ],
 "resources": [
  {
   "name": "clean-biomechanics_clean.csv",
   "path": "clean/biomechanics_clean.csv",
   "url": "https://apopt.com/data/tutorials/cs13-peak-force/clean/biomechanics_clean.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 224295,
   "hash": "sha256:bb903d3b6b554fe5c13d55e2eb68e02b2185e4423c928f865c13e062b70ee7cf",
   "description": "Cleaned copy written by the tutorial",
   "rows": 2568,
   "schema": {
    "fields": [
     {
      "name": "speed",
      "type": "number",
      "unit": "m/s",
      "description": "treadmill speed"
     },
     {
      "name": "lgt",
      "type": "number",
      "unit": "s",
      "description": "left-foot ground contact time"
     },
     {
      "name": "sr",
      "type": "number",
      "unit": "strides/s",
      "description": "stride rate"
     },
     {
      "name": "sl",
      "type": "number",
      "unit": "m",
      "description": "stride length"
     },
     {
      "name": "lkneeswing",
      "type": "number",
      "unit": "degrees",
      "description": "left knee angle at peak swing flexion"
     },
     {
      "name": "lhipflex",
      "type": "number",
      "unit": "degrees",
      "description": "left hip peak flexion"
     },
     {
      "name": "lhipext",
      "type": "number",
      "unit": "degrees",
      "description": "left hip peak extension"
     },
     {
      "name": "lcmvert",
      "type": "number",
      "unit": "m",
      "description": "vertical travel of the center of mass"
     },
     {
      "name": "lkneesep",
      "type": "number",
      "unit": "m",
      "description": "distance between the knees at toe-off"
     },
     {
      "name": "lcmtoe",
      "type": "number",
      "unit": "m",
      "description": "center of mass to toe at contact"
     },
     {
      "name": "lpeakforce",
      "type": "number",
      "unit": "body weights",
      "description": "left-foot peak vertical force (target)"
     },
     {
      "name": "trial",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "runner",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "clean-change_log.csv",
   "path": "clean/change_log.csv",
   "url": "https://apopt.com/data/tutorials/cs13-peak-force/clean/change_log.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 134,
   "hash": "sha256:0d83f35bb9926e0505fd674bc2e9121bccc49a57a3db444a6fca7f8123095020",
   "description": "Cleaned copy written by the tutorial",
   "rows": 3,
   "schema": {
    "fields": [
     {
      "name": "rule",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "rows_removed",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "rows_left",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "expected-printed-output.txt",
   "path": "expected/printed-output.txt",
   "url": "https://apopt.com/data/tutorials/cs13-peak-force/expected/printed-output.txt",
   "format": "text",
   "mediatype": "text/plain",
   "bytes": 2343,
   "hash": "sha256:5b348aeb3b3b1bdaf8e38342916be5c78bb0c2bf3a524f9a25165710245f716f",
   "description": "Everything the tutorial prints, cell by cell"
  },
  {
   "name": "raw-biomechanics.txt",
   "path": "raw/biomechanics.txt",
   "url": "https://apopt.com/data/tutorials/cs13-peak-force/raw/biomechanics.txt",
   "format": "text",
   "mediatype": "text/plain",
   "bytes": 217213,
   "hash": "sha256:dae6ffb2672e6435a8b2a6af80d4fcdf3245862f20b420c38192c7986133721a",
   "description": "one row per left-foot step on an instrumented treadmill, nine gait measures and the peak force (2,625 rows)"
  },
  {
   "name": "raw-biomechanics2.txt",
   "path": "raw/biomechanics2.txt",
   "url": "https://apopt.com/data/tutorials/cs13-peak-force/raw/biomechanics2.txt",
   "format": "text",
   "mediatype": "text/plain",
   "bytes": 1057480,
   "hash": "sha256:c8c7d965def7ac47c2e51a49374cece719c594dd0e608c765c36d3ba0369a8a1",
   "description": "the same kind of steps with both legs and 49 columns, for the challenge (2,975 rows)"
  }
 ],
 "sources": [
  {
   "title": "Data-Driven Engineering course, Biomechanic Regression case study (apmonitor.com/dde); data courtesy of Iain Hunter, BYU Biomechanics"
  }
 ]
}
