Recent Releases of stepcount

stepcount - stepcount 3.14.0

What's Changed

  • Add calibration-stdtol-min by @aidanacquah in https://github.com/OxWearables/stepcount/pull/159

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.13.0...v3.14.0

- Jupyter Notebook
Published by github-actions[bot] 6 months ago

stepcount - stepcount 3.13.0

What's Changed

  • update GLOSSARY.md by @chanshing in https://github.com/OxWearables/stepcount/pull/152
  • refactor: simplify min-walk-per-day argument by @chanshing in https://github.com/OxWearables/stepcount/pull/153
  • fix: specify NA check to only include 'x', 'y', 'z' columns by @chanshing in https://github.com/OxWearables/stepcount/pull/156

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.12.0...v3.13.0

- Jupyter Notebook
Published by github-actions[bot] 7 months ago

stepcount - stepcount 3.12.0

What's Changed

  • feat: add command-line arguments for minimum walking time per day for cadence calculation by @chanshing in https://github.com/OxWearables/stepcount/pull/146
  • refactor: improve argparse help text by @chanshing in https://github.com/OxWearables/stepcount/pull/147
  • feat: argparse-min-wear by @chanshing in https://github.com/OxWearables/stepcount/pull/148
  • feat: argparse-bouts by @chanshing in https://github.com/OxWearables/stepcount/pull/149
  • fix: change argparse type int -> float by @chanshing in https://github.com/OxWearables/stepcount/pull/150

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.11.4...v3.12.0

- Jupyter Notebook
Published by github-actions[bot] about 1 year ago

stepcount - stepcount 3.11.4

What's Changed

  • fix: remove trailing comma in argparse help messages by @chanshing in https://github.com/OxWearables/stepcount/pull/144

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.11.3...v3.11.4

- Jupyter Notebook
Published by github-actions[bot] about 1 year ago

stepcount - stepcount 3.11.3

What's Changed

  • exit early if no data to process or all NA by @chanshing in https://github.com/OxWearables/stepcount/pull/141

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.11.2...v3.11.3

- Jupyter Notebook
Published by github-actions[bot] over 1 year ago

stepcount - stepcount 3.11.2

What's Changed

  • fix: fix wrong wear time calculation by @chanshing in https://github.com/OxWearables/stepcount/pull/140

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.11.1...v3.11.2

- Jupyter Notebook
Published by github-actions[bot] over 1 year ago

stepcount - stepcount 3.11.1

What's Changed

  • fix: fix wrong wear time calculation (missing brackets) by @chanshing in https://github.com/OxWearables/stepcount/pull/139

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.11.0...v3.11.1

- Jupyter Notebook
Published by github-actions[bot] over 1 year ago

stepcount - stepcount 3.11.0

What's Changed

  • feat: add --start and --end options by @chanshing in https://github.com/OxWearables/stepcount/pull/138

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.10.2...v3.11.0

- Jupyter Notebook
Published by github-actions[bot] over 1 year ago

stepcount - stepcount 3.10.2

What's Changed

  • fix: add missing Filename column to output bouts data by @chanshing in https://github.com/OxWearables/stepcount/pull/136
  • fix: overwrite existing collated files (not append); fix and collate bouts files by @chanshing in https://github.com/OxWearables/stepcount/pull/135
  • refactor(collate-outputs): use -i daily, hourly, bouts, etc. to specify types of files to collate by @chanshing in https://github.com/OxWearables/stepcount/pull/137

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.10.1...v3.10.2

- Jupyter Notebook
Published by github-actions[bot] over 1 year ago

stepcount - stepcount 3.10.1

What's Changed

  • fix(plot): fix the ymin of the grey shading (0 -> -10) by @chanshing in https://github.com/OxWearables/stepcount/pull/133
  • Refactor wear time and coverage logic; new fields WearStartTime and WearEndTime; set first/last days to NA instead of dropping by @chanshing in https://github.com/OxWearables/stepcount/pull/134

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.10.0...v3.10.1

- Jupyter Notebook
Published by github-actions[bot] over 1 year ago

stepcount - stepcount 3.10.0

What's Changed

  • feat: add functionality to plot time series of steps by @chanshing in https://github.com/OxWearables/stepcount/pull/132

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.9.1...v3.10.0

- Jupyter Notebook
Published by github-actions[bot] over 1 year ago

stepcount - stepcount 3.9.1

What's Changed

  • fix(summarize_bouts): avoid in-place modification of input variable by @chanshing in https://github.com/OxWearables/stepcount/pull/131

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.9.0...v3.9.1

- Jupyter Notebook
Published by github-actions[bot] over 1 year ago

stepcount - stepcount 3.9.0

What's Changed

  • feat: detect activity bouts and calculate bout metrics by @chanshing in https://github.com/OxWearables/stepcount/pull/129

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.8.3...v3.9.0

- Jupyter Notebook
Published by github-actions[bot] over 1 year ago

stepcount - stepcount 3.8.3

What's Changed

  • fix: update start, end, wear time information after exclusions applied by @chanshing in https://github.com/OxWearables/stepcount/pull/130

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.8.2...v3.8.3

- Jupyter Notebook
Published by github-actions[bot] over 1 year ago

stepcount - stepcount 3.8.2

What's Changed

  • fix(impute_missing): record NA dates before reindexing, not after by @chanshing in https://github.com/OxWearables/stepcount/pull/127

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.8.1...v3.8.2

- Jupyter Notebook
Published by github-actions[bot] over 1 year ago

stepcount - stepcount 3.8.1

What's Changed

  • fix: add missing start and end times info when input is csv by @chanshing in https://github.com/OxWearables/stepcount/pull/126

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.8.0...v3.8.1

- Jupyter Notebook
Published by github-actions[bot] over 1 year ago

stepcount - stepcount 3.8.0

What's Changed

  • feat(collate_outputs): collate also daily, hourly and minutely summaries by @chanshing in https://github.com/OxWearables/stepcount/pull/115
  • feat: include package version and input args used to run script by @chanshing in https://github.com/OxWearables/stepcount/pull/117
  • feat: hour-of-day averages by @chanshing in https://github.com/OxWearables/stepcount/pull/121
  • refactor: no longer round walking metrics; avoid spamming console with hour-of-day metrics by @chanshing in https://github.com/OxWearables/stepcount/pull/122
  • feat: weekend and weekday stats by @chanshing in https://github.com/OxWearables/stepcount/pull/123
  • refactor: swap _HourXX _WeekX in field name by @chanshing in https://github.com/OxWearables/stepcount/pull/124

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.7.2...v3.8.0

- Jupyter Notebook
Published by github-actions[bot] over 1 year ago

stepcount - stepcount 3.7.2

What's Changed

  • fix: use median in impute_days for cadence only by @chanshing in https://github.com/OxWearables/stepcount/pull/112
  • fix: field name is missing ')' by @chanshing in https://github.com/OxWearables/stepcount/pull/113
  • refactor: add 'Filename' column; rename 'time' column by @chanshing in https://github.com/OxWearables/stepcount/pull/114

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.7.1...v3.7.2

- Jupyter Notebook
Published by github-actions[bot] almost 2 years ago

stepcount - stepcount 3.7.1

What's Changed

  • fix: use Int64Dtype, StringDtype to prevent int cast to float when NAs by @chanshing in https://github.com/OxWearables/stepcount/pull/111

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.7.0...v3.7.1

- Jupyter Notebook
Published by github-actions[bot] almost 2 years ago

stepcount - stepcount 3.7.0

What's Changed

  • feat: add --exclude-wear-below option to exlude days with insufficient wear time by @chanshing in https://github.com/OxWearables/stepcount/pull/97
  • feat: option --exclude-first-last to exclude first or last day, or both by @chanshing in https://github.com/OxWearables/stepcount/pull/98
  • ci: use artifacts to prevent http request rate limit exceeded by @chanshing in https://github.com/OxWearables/stepcount/pull/99
  • refactor: improve how ssl model is loaded by @chanshing in https://github.com/OxWearables/stepcount/pull/100
  • refactor(ssl): check model loaded first, then check len(X) by @chanshing in https://github.com/OxWearables/stepcount/pull/101
  • ci: use artifacts for model weights (the joblib files) for reuse by @chanshing in https://github.com/OxWearables/stepcount/pull/103
  • ci: remove install.yaml by @chanshing in https://github.com/OxWearables/stepcount/pull/104
  • feat(impute_missing): option to skip full missing days in imputation by @chanshing in https://github.com/OxWearables/stepcount/pull/105
  • tweaks to adjusted estimates by @chanshing in https://github.com/OxWearables/stepcount/pull/106
  • fix(skipfullmissing_days): fix bug all() -> any() by @chanshing in https://github.com/OxWearables/stepcount/pull/107
  • more flexible NA handling when adjusted estimation by @chanshing in https://github.com/OxWearables/stepcount/pull/108
  • change impute_days default median -> mean by @chanshing in https://github.com/OxWearables/stepcount/pull/109

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.6.0...v3.7.0

- Jupyter Notebook
Published by github-actions[bot] almost 2 years ago

stepcount - stepcount 3.6.0

What's Changed

  • Update README.md by @KPCOFGS in https://github.com/OxWearables/stepcount/pull/92
  • feat: field "Covers24hOK" to check 24h coverage by @chanshing in https://github.com/OxWearables/stepcount/pull/95

New Contributors

  • @KPCOFGS made their first contribution in https://github.com/OxWearables/stepcount/pull/92

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.5.0...v3.6.0

- Jupyter Notebook
Published by github-actions[bot] almost 2 years ago

stepcount - stepcount 3.5.0

What's Changed

  • chore: deprecate median ptiles at; shorten field names by @chanshing in https://github.com/OxWearables/stepcount/pull/78
  • fix: zero-out predicted steps < steptol by @chanshing in https://github.com/OxWearables/stepcount/pull/79
  • fix: impute walking separately by @chanshing in https://github.com/OxWearables/stepcount/pull/80
  • fix: use only walking windows when calculating max by @chanshing in https://github.com/OxWearables/stepcount/pull/81
  • Fix cadence's steptol: normalize to steps/min by @chanshing in https://github.com/OxWearables/stepcount/pull/83
  • Fix to use .agg(_aggfn) instead of .aggfn() to correctly handle NAs by @chanshing in https://github.com/OxWearables/stepcount/pull/84
  • Use coarser grid in imputation: 1-min -> 5-min grid by @chanshing in https://github.com/OxWearables/stepcount/pull/85
  • Fix cadence adjustment by @chanshing in https://github.com/OxWearables/stepcount/pull/86
  • Use .total_seconds() instead of .seconds; Fix .sum() of all-NaN to return NaN by @chanshing in https://github.com/OxWearables/stepcount/pull/87
  • chore(enmo): promptly downsample to reduce computation and memory by @chanshing in https://github.com/OxWearables/stepcount/pull/89
  • fix(enmo): use .agg(_aggfn) instead of .aggfn() to skipna properly by @chanshing in https://github.com/OxWearables/stepcount/pull/90
  • Concat ENMO and steps columns into one output dataframe/CSV by @chanshing in https://github.com/OxWearables/stepcount/pull/91

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.4.0...v3.5.0

- Jupyter Notebook
Published by github-actions[bot] almost 2 years ago

stepcount - stepcount 3.4.0

What's Changed

  • feat: 95th percentile of cadence by @chanshing in https://github.com/OxWearables/stepcount/pull/69
  • fix(predict): handle zero-length X inputs by @chanshing in https://github.com/OxWearables/stepcount/pull/70
  • fix NoneType error by @chanshing in https://github.com/OxWearables/stepcount/pull/71
  • chore: silence warning 'Mean of empty slice' by @chanshing in https://github.com/OxWearables/stepcount/pull/72
  • feat: steps 5th & 95th ptiles at; refactor field names by @chanshing in https://github.com/OxWearables/stepcount/pull/74
  • fix: use only walking windows when calculating 95th cadence by @chanshing in https://github.com/OxWearables/stepcount/pull/75
  • feat: output minute-level data by @chanshing in https://github.com/OxWearables/stepcount/pull/76
  • feat: output enmo metrics by @chanshing in https://github.com/OxWearables/stepcount/pull/77

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.3.1...v3.4.0

- Jupyter Notebook
Published by github-actions[bot] almost 2 years ago

stepcount - stepcount 3.3.1

What's Changed

  • fix: peak cadence to nan when not enough data by @chanshing in https://github.com/OxWearables/stepcount/pull/68

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.3.0...v3.3.1

- Jupyter Notebook
Published by chanshing almost 2 years ago

stepcount - stepcount 3.3.0

What's Changed

  • feat: support specifying custom headers for CSV inputs by @chanshing in https://github.com/OxWearables/stepcount/pull/66

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.2.5...v3.3.0

- Jupyter Notebook
Published by github-actions[bot] almost 2 years ago

stepcount - stepcount 3.2.5

What's Changed

  • refactor: use mean for infer_freq but remove outliers by @chanshing in https://github.com/OxWearables/stepcount/pull/64
  • fix NaT freq issue when recording is extremely small by @chanshing in https://github.com/OxWearables/stepcount/pull/65

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.2.4...v3.2.5

- Jupyter Notebook
Published by github-actions[bot] almost 2 years ago

stepcount - stepcount 3.2.4

What's Changed

  • fix(hmm_utils): update module name MultinomialHMM -> CategoricalHMM after hmmlearn 0.3.0 by @chanshing in https://github.com/OxWearables/stepcount/pull/63

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.2.3...v3.2.4

- Jupyter Notebook
Published by github-actions[bot] about 2 years ago

stepcount - stepcount 3.2.3

What's Changed

  • fix(read): handle filenames containing dots, confusing extension by @chanshing in https://github.com/OxWearables/stepcount/pull/60

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.2.2...v3.2.3

- Jupyter Notebook
Published by github-actions[bot] about 2 years ago

stepcount - stepcount 3.2.2

What's Changed

  • build: bump version: hmmlearn 0.2.7 -> 0.3.* by @chanshing in https://github.com/OxWearables/stepcount/pull/55
  • ci: include macos in smoke tests by @chanshing in https://github.com/OxWearables/stepcount/pull/56

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.2.1...v3.2.2

- Jupyter Notebook
Published by github-actions[bot] about 2 years ago

stepcount - stepcount 3.2.1

What's Changed

  • fix: use normal indexing instead of boolean indexing by @chanshing in https://github.com/OxWearables/stepcount/pull/54

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.2.0...v3.2.1

- Jupyter Notebook
Published by github-actions[bot] about 2 years ago

stepcount - stepcount 3.2.0

What's Changed

  • Feature: Step Timings by @aidanacquah in https://github.com/OxWearables/stepcount/pull/46
  • Fix: update setup.py to require actipy>=3.0.5 to fix #49 by @muschellij2 in https://github.com/OxWearables/stepcount/pull/50
  • feat: add option to explicitly pass sample rate by @muschellij2 in https://github.com/OxWearables/stepcount/pull/52

New Contributors

  • @muschellij2 made their first contribution in https://github.com/OxWearables/stepcount/pull/50

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.1.2...v3.2.0

- Jupyter Notebook
Published by github-actions[bot] about 2 years ago

stepcount - stepcount 3.1.2

What's Changed

  • docs: pypi-friendly urls by @chanshing in https://github.com/OxWearables/stepcount/pull/43
  • docs: pypi-friendly instructions by @chanshing in https://github.com/OxWearables/stepcount/pull/44
  • refactor: adjust overall estimates using weekdaily by @chanshing in https://github.com/OxWearables/stepcount/pull/47
  • refactor: adjust cadence using weekdaily stats by @chanshing in https://github.com/OxWearables/stepcount/pull/48

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.1.1...v3.1.2

- Jupyter Notebook
Published by github-actions[bot] about 2 years ago

stepcount - stepcount 3.1.1

What's Changed

  • feat: stepcount-generate-commands by @chanshing in https://github.com/OxWearables/stepcount/pull/41
  • fix: QAt IndexError by @chanshing in https://github.com/OxWearables/stepcount/pull/42

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.1.0...v3.1.1

- Jupyter Notebook
Published by github-actions[bot] over 2 years ago

stepcount - stepcount 3.1.0

What's Changed

  • feat: steps Q1, Q2, Q3 At by @chanshing in https://github.com/OxWearables/stepcount/pull/39
  • Option: --quiet / -q by @chanshing in https://github.com/OxWearables/stepcount/pull/40

Full Changelog: https://github.com/OxWearables/stepcount/compare/v3.0.0...v3.1.0

- Jupyter Notebook
Published by github-actions[bot] over 2 years ago

stepcount - stepcount 3.0.0

What's Changed

  • chore: SSL verbose=True, mininterval=5 by @chanshing in https://github.com/OxWearables/stepcount/pull/37
  • Setup/bump actipy and pandas by @chanshing in https://github.com/OxWearables/stepcount/pull/38

Full Changelog: https://github.com/OxWearables/stepcount/compare/v2.2.1...v3.0.0

- Jupyter Notebook
Published by github-actions[bot] over 2 years ago

stepcount - stepcount 2.2.1

What's Changed

  • Feature add documentation by @aidanacquah in https://github.com/OxWearables/stepcount/pull/32
  • Performance improvements, minor bug fixes to dataloader by @chanshing in https://github.com/OxWearables/stepcount/pull/35
  • Workflows: Use tiny sample file for faster tests by @chanshing in https://github.com/OxWearables/stepcount/pull/36

Full Changelog: https://github.com/OxWearables/stepcount/compare/v2.2.0...v2.2.1

- Jupyter Notebook
Published by github-actions[bot] over 2 years ago

stepcount - v2.2.0

What's Changed

  • Correct acf_zeros calculation by @aidanacquah in https://github.com/OxWearables/stepcount/pull/29
  • Retrain model by @chanshing in https://github.com/OxWearables/stepcount/pull/31
  • Fixed missing index name ('time') 4656e1cb12fae0892af4a58aa036bfb97e4113af

New Contributors

  • @aidanacquah made their first contribution in https://github.com/OxWearables/stepcount/pull/29

Full Changelog: https://github.com/OxWearables/stepcount/compare/v2.1.6...v2.2.0

- Jupyter Notebook
Published by github-actions[bot] over 2 years ago

stepcount - v2.1.6

What's Changed

  • Added quick fix when data contains duplicate indices.
  • Updated to actipy v2.1.0

- Jupyter Notebook
Published by github-actions[bot] over 2 years ago

stepcount - v2.1.5

What's Changed

  • Updated to actipy v2.0.4

- Jupyter Notebook
Published by github-actions[bot] over 2 years ago

stepcount - v2.1.4

What's Changed

  • Gracefully handle empty files/no data errors.
  • Minor performance improvements in SSL mode.

- Jupyter Notebook
Published by github-actions[bot] over 2 years ago

stepcount - v2.1.3

- Jupyter Notebook
Published by github-actions[bot] almost 3 years ago

stepcount - v2.1.2.post0

- Jupyter Notebook
Published by github-actions[bot] almost 3 years ago

stepcount - v2.1.2

What's Changed

  • Bumped actipy version to fix bug when input file too short: https://github.com/OxWearables/stepcount/issues/16

- Jupyter Notebook
Published by chanshing almost 3 years ago

stepcount - v2.1.1

What's Changed

  • Bump torch version to fix vulnerability bug.
  • Add more specific version constraints in setup.py

- Jupyter Notebook
Published by chanshing almost 3 years ago

stepcount - v2.1.0

What's Changed

  • Additional summary metrics:
    • Steps per day (min, med, max, avg).
    • Walking per day (min, med, max, avg).
    • Cadence (peak 1 min, peak 30 min)
  • Use hyphen instead of underscore for output filenames: https://developers.google.com/style/filenames
  • New entry point: stepcount-collate-outputs to collate outputs when processing several files.

- Jupyter Notebook
Published by chanshing almost 3 years ago

stepcount - v2.0.5

What's Changed

  • Fixed column names of output files ddbadca56983b3621da43de592fbd4421e1f1f47

- Jupyter Notebook
Published by chanshing almost 3 years ago

stepcount - v2.0.4

What's Changed

  • Fixed column names of output files c5ada3d256d3dee74f27f64a9d257f3b9ff98b6a

- Jupyter Notebook
Published by chanshing almost 3 years ago

stepcount - v2.0.3

What's Changed

  • Bumped actipy to v2.0.1 which fixes a bug in the cleanup of temporary files.

- Jupyter Notebook
Published by chanshing about 3 years ago

stepcount - v2.0.2

What's Changed

  • Bumped actipy==2.0.0 -- this fixes Windows incompatibility.

- Jupyter Notebook
Published by chanshing about 3 years ago

stepcount - v2.0.1

What's Changed

  • Fix: retrained random forest model, which broke after v2.0.0 b1c78dcfd3280f386b5a2512ca983af6518a2c4c
  • Fix issue when missing ResampleRate (happens when file didn't need resampling) 22b37e32596600bb89c8222a1a03065533a0ec1f
  • Skip check MD5 when user-specified model path 4bf50e26f4c2808ee9adc2bf1e702e2c9b9038ee

- Jupyter Notebook
Published by chanshing about 3 years ago

stepcount - v2.0.0

First release!

- Jupyter Notebook
Published by chanshing about 3 years ago