Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
6ecf271
refactoring
nakmuaycoder Apr 5, 2026
13f1d44
feat: data parsing utilities
nakmuaycoder Apr 6, 2026
9051ea8
Add make format
nakmuaycoder Apr 6, 2026
7900246
feat: repo formatting
nakmuaycoder Apr 6, 2026
7ff5f59
feat: implement 3D rotation augmentation for accelerometer data
nakmuaycoder Apr 6, 2026
b17476d
feat: implement TinyML augmentation, and preprocessing modules.
nakmuaycoder Apr 6, 2026
2c81100
feat: CI
nakmuaycoder Apr 6, 2026
af6ab5b
feat: implement dataset
nakmuaycoder Apr 6, 2026
544b969
feat: log parsing utilities
nakmuaycoder Apr 6, 2026
28367d7
refactor: replace legacy log preprocessing scripts
nakmuaycoder Apr 6, 2026
7f3e727
refactor: drop analysis notebooks
nakmuaycoder Apr 6, 2026
c7c64cb
fix: Pr review
nakmuaycoder Apr 6, 2026
b236aa3
Update ml/src/parser.py
nakmuaycoder Apr 6, 2026
084352b
Update ml/src/model.py
nakmuaycoder Apr 6, 2026
cf508a9
Update ml/src/model.py
nakmuaycoder Apr 6, 2026
8c81a77
Update ml/src/model.py
nakmuaycoder Apr 6, 2026
197a8fe
feat: optuna
nakmuaycoder Apr 6, 2026
49f768b
fix: fix labelling bug
nakmuaycoder Apr 6, 2026
5518933
feat: implement training pipeline
nakmuaycoder Apr 6, 2026
7b9ed89
feat: NAS configuration targets, and expand hyperparameter search space
nakmuaycoder Apr 6, 2026
2aa512f
feat: add default training configuration for TinyML research
nakmuaycoder Apr 6, 2026
36beb2a
Update ml/src/train.py
nakmuaycoder Apr 7, 2026
f74320b
Update ml/src/dataset.py
nakmuaycoder Apr 7, 2026
f767bb4
aug
nakmuaycoder May 25, 2026
bc9c1c6
feat: update Hydra configuration with directory management and expand…
nakmuaycoder May 25, 2026
0802e77
feat: implement row validation logic in AccelLogParser and add unit t…
nakmuaycoder May 25, 2026
18f3e63
chore: remove unused requirements.txt file
nakmuaycoder May 25, 2026
c79c993
chore: update Hydra output directory configuration and revise documen…
nakmuaycoder May 25, 2026
61139dc
feat: add data.seq_len to hyperparameter search space in config
nakmuaycoder May 25, 2026
728bdad
feat: add experiment_name configuration to improve output directory o…
nakmuaycoder May 25, 2026
a6a4f1f
chore: increase hyperparameter optimization search to 150 trials
nakmuaycoder May 25, 2026
cec13b4
chore: remove tensorboard dependency from pyproject.toml and uv.lock
nakmuaycoder May 25, 2026
45a634a
Revert "chore: increase hyperparameter optimization search to 150 tri…
nakmuaycoder May 25, 2026
96c6257
chore: increase n_jobs to 4 in study configuration for faster trial p…
nakmuaycoder May 25, 2026
63b857b
feat: add hydra-joblib-launcher to dependencies and configure joblib …
nakmuaycoder May 25, 2026
659c8ae
chore: increase n_trials to 150 and n_jobs to 5 in study configuration
nakmuaycoder May 25, 2026
29bb105
feat: implement Hydra multirun logging support and suppress redundant…
nakmuaycoder May 25, 2026
81ec643
feat: add dynamic window-wise min-max normalization to MinMaxNormaliz…
nakmuaycoder May 25, 2026
8368942
feat: implement class balancing with WeightedRandomSampler and update…
nakmuaycoder May 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: "3.12"

- name: Install dependencies
run: uv sync

- name: Check formatting (Ruff)
run: uv run ruff format --check

- name: Linting (Ruff)
run: uv run ruff check

test:
runs-on: ubuntu-latest
needs: quality
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: "3.12"

- name: Install dependencies
run: uv sync

- name: Run unit tests
run: |
export PYTHONPATH=$PYTHONPATH:.
uv run pytest ml/tests/
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
data/raw/
data/clean/
*.pyc
__pycache__
multirun/
output/
outputs/
28 changes: 28 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Pre-commit configuration for TinyML Fitness Tracker
# Author: nakmuaycoder
# 2026/04

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.10
hooks:
# Linter
- id: ruff
args: [ --fix ]
# Formatter
- id: ruff-format

- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
args: ['--baseline', '.secrets.baseline']
exclude: .*/tests/.*
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12
Loading