EMBEDLIX RESEARCH · MACHINE LEARNING LABORATORY SERIES

Reproducibility, source materials and research record

Downloadable evidence, notebook execution order, software records and transparent authorship.

Chathuranga Bandara PolkotuwaResearch portfolio · Labs 1–4Chapter 6 of 6

6.1 Evidence and artifact availability

This publication is based on six owner-supplied files: the combined 27-page logbook, 27-slide seminar presentation, three experiment notebooks and one environment-check notebook. Figures are original saved notebook outputs or labelled crops from the report. New explanatory diagrams are source-derived schematics, not measured signals. [1–6]

The downloadable notebook copies preserve code logic and saved experiment outputs but replace the owner’s personal workstation root path with /PATH/TO/YOUR/WORKSPACE. No credentials were found in the selected teaching excerpts. The PDF and presentation are retained as original documents.

Not supplied: raw sensor CSV datasets, fitted scaler files, .keras model artifacts, exact continuous transition annotations, a locked environment specification and a participant-held-out multi-person dataset. The visible experiment outputs can be audited, but a fresh end-to-end numerical reproduction is not possible from these uploads alone.

6.2 How the implementation fits together

  1. Prepare per-class folders containing matched acceleration and gyroscope exports, using the names expected by each notebook.
  2. Configure local data directories; verify exported sensor column names and units.
  3. Load and time-align recordings, retaining labels and unique recording identities.
  4. Check missing values, class counts and recording-level split intersections.
  5. Run the classical notebook to compare grouped-CV models and inspect held-out/external errors.
  6. Run the feedforward notebook with the correct TensorFlow kernel; fit scaling only on training rows and save model/scaler/mapping artifacts.
  7. Run the GRU notebook using the expected original sensor folders and separate continuous/external recordings. Make windows within recordings and preserve metadata.
  8. Audit results by class, recording and evaluation setting before making a deployment claim.

The notebooks contain local path assumptions and dependencies between cells. They are research records, not a portable package that runs unchanged after download. Lab 4 rebuilds the data pipeline and expects the related folders and artifacts; only uploading the notebook is insufficient.

6.3 Saved software environment records

SourceSaved output recordInterpretation
Lab 2 / environment checkPython 3.14.6; NumPy 2.4.6; pandas 3.0.3; scikit-learn 1.9.0Reported by saved notebook output
Lab 3TensorFlow 2.21.0; pandas 3.0.6; NumPy 2.5.3Different experiment environment
Lab 4TensorFlow 2.18.1; one GPU device; deterministic operations enabledSaved run record, not a supplied hardware benchmark

These versions are quoted as the notebooks saved them; they were not independently installed or verified here and are not a tested compatibility recipe. The uploaded environment-check notebook initially contains a SyntaxError from entering prose as Python, then a successful import/version-print cell. The classical notebook also has an explanatory prose cell saved as code with a SyntaxError. Neither is silently presented as a flawless clean execution.

Before reproducing the work, convert explanatory prose cells to Markdown, configure paths, create a compatible environment and record an actual dependency lock file. Seeds help repeatability but software/device differences can still change results.

6.4 Result provenance and corrections

Publication statementSource location
48 recordings; 95,837 rows; 0.02 s alignmentLogbook pp. 4, 10; presentation slides 2, 19; notebook loading cells
KNN k = 11; Euclidean; distance; 93.62% CV; 91.12% testLogbook pp. 6–7, 22; presentation slide 3; Lab 2 extended search
FFN 50 + 50; 47 epochs; 90.09% testLogbook pp. 10–14; presentation slide 4; Lab 3 final evaluation
GRU 100 × 6; 32 units; 3,972 parameters; 99.19% testLogbook pp. 16–18; presentation slides 5, 8; Lab 4 final evaluation
Continuous 63.62%; fourth section 0%Logbook pp. 19, 24; presentation slide 6; Lab 4 section analysis
KNN external 37.94%; GRU external ≈25.78%Logbook pp. 8–9, 20, 25–26; presentation slides 7, 10–11

The earlier website’s approximate KNN values and k = 9 / Manhattan description are superseded by the final supplied source record. Report plot transcriptions are not used to reconstruct raw signals or unreported experiments. When precise saved evaluation outputs differ from an approximate chart transcription, the notebook output is used and the original image remains available for audit.

The publication adds explanations and research-style organization, not invented measurements, fabricated references, a journal acceptance or a DOI.

6.5 Authorship and acknowledgement

Author: Chathuranga Bandara Polkotuwa. The research record documents his machine-learning laboratory progression from sensor preparation to external generalization analysis.

The supplied logbook discloses ChatGPT assistance for code explanations, troubleshooting, notebook/report organization and interpretation. It also states that notebook outputs were run and checked before inclusion. This website’s editorial organization and explanatory teaching material do not constitute an independent replication of those experiments.

Participant consent documents, ethics approval and a formal institutional publication affiliation were not supplied. No such approval or status is claimed. Raw personal sensor data are not hosted by this publication.

6.6 References and further technical reading

Primary research record

[1] C. B. Polkotuwa, Combined Machine Learning Logbook: Labs 1, 2, 3 and 4, supplied 27-page document.

[2] C. Polkotuwa, Movement Classification with Phone Sensors: Final Lab Seminar, supplied 27-slide presentation.

[3] C. Polkotuwa, Lab2_Classical_ML_from_start.ipynb.ipynb, supplied executed notebook.

[4] C. Polkotuwa, Lab3_Feedforward_Neural_Networks.ipynb, supplied executed notebook.

[5] C. Polkotuwa, Lab4_GRU_Grade5_99percent.ipynb, supplied executed notebook.

[6] C. Polkotuwa, test_anaconda.ipynb, supplied environment-check notebook.

Implementation documentation (not additional experimental evidence)

Primary research materials

Original logbook and seminar, plus notebook copies with personal workstation paths redacted. Raw CSVs and fitted models were not supplied; saved outputs are not an independent replication.