← 开源
markdregan

K-Nearest-Neighbors-with-Dynamic-Time-Warping

Python implementation of KNN and DTW classification algorithm

Model DevelopmentClassical MLJupyter Notebook
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
792
Star
210
Fork
+0
本周
2
贡献者
创建于 2014-07-22 · 更新于 2026-09-17 · 今日第 13778 名
主要开发者
danielhersfredthedead

markdregan/K-Nearest-Neighbors-with-Dynamic-Time-Warping 排名第 13,778,有 792 个星标。

同类别比较

markdregan/K-Nearest-Neighbors-with-Dynamic-Time-Warping 排名第 13,778,此处有 8 个同类条目;google/grain 排名第 13,777。

同类别比较
名称排名指标
teticio/audio-diffusion13,754
语言:
Jupyter Notebook
星标数:
794
分叉数:
76
简介:
Apply diffusion models using the new Hugging Face diffusers package to synthesize music instead of images.
DaoyuanLi2816/can-i-finetune-this13,756
语言:
Python
星标数:
793
分叉数:
107
简介:
Single-GPU LLM fine-tuning preflight: memory estimates, runnable LoRA/QLoRA recipes, and local measurements.
hardmaru/slimevolleygym13,763
语言:
Python
星标数:
793
分叉数:
125
简介:
A simple OpenAI Gym environment for single and multi-agent reinforcement learning
google/grain13,777
语言:
Python
星标数:
792
分叉数:
89
简介:
Library for reading and processing ML training data.
tkipf/keras-gcn13,780
语言:
Python
星标数:
792
分叉数:
261
简介:
Keras implementation of Graph Convolutional Networks
AutoRally/autorally13,781
语言:
C++
星标数:
791
分叉数:
234
简介:
Software for the AutoRally platform
menloresearch/asimov-v013,789
星标数:
791
分叉数:
97
简介:
v0 of Asimov, an open-source humanoid robot
ntucllab/libact13,790
语言:
Python
星标数:
791
分叉数:
172
简介:
Pool-based active learning in Python
关键参数与规格
关键参数与规格
参数值
语言Jupyter Notebook
类别Model Development
子类别Classical ML
关键词Timeseries
星标数792
分叉数210
贡献者2
创建日期2014-07-22
更新日期2026-09-17
1 天星标数0
7 天星标数0
排名13,778
上次排名13,673
排名变化-105
7 天星标排名14,113
上次 7 天星标排名14,133
7 天星标排名变化20
总星标排名13,471
上次总星标排名13,453
总星标排名变化-18
国家Ireland
README 摘录

K Nearest Neighbors & Dynamic Time Warping === View IPython notebook When it comes to building a classification algorithm, analysts have a broad range of open source options to choose from. However, for time series classification, there are less out-of-the box solutions. I began researching the domain of time series classification and was intrigued by a recommended technique called K Nearest Neighbors and Dynamic Time Warping. A meta analysis completed by Mitsa (2010) suggests that when it comes to timeseries

classification, 1 Nearest Neighbor (K=1) and Dynamic Timewarping is very difficult to beat [1]. This repo contains a python implementation (and IPython notebook) of KNN & DTW classification algorithm. The following IPython notebook evaluates the KNN and DTW classifer by using it to classify human activities (sitting, walking, lying) when given timeseries data from a smart phones gyroscope and accelerometer (HAR dataset). Human Activity Recognition Dataset The Human Activity Recognition Dataset (HAR) dataset is chosen to test the classification performance

of DTW & KNN [3]. The experiments were carried out with a group of 30 volunteers within an age bracket of 19-48 years. Each person performed six activities (walking, walking upstairs, walking downstairs, sitting, standing and laying) wearing a smartphone (Samsung Galaxy S II) on the waist. Using its embedded accelerometer and gyroscope, we captured 3-axial linear acceleration and 3-axial angular velocity at a constant rate of 50Hz. The experiments have been video-recorded to label the data

manually. Temporal Data Mining (Chapter on Temporal Classification). Fast Time Series Classification Using Numerosity Reduction. Davide Anguita, Alessandro Ghio, Luca Oneto, Xavier Parra and Jorge L. Human Activity Recognition on Smartphones using a Multiclass Hardware-Friendly Support Vector Machine. International Workshop of Ambient Assisted Living (IWAAL 2012). Read Paper Credit The progressbar used in the class was taken from PYMC The matplotlib style and IPython notebook was taken from Cameron Davidson-Pilon's excelent "Bayesian Methods for Hackers"

常见问题

记录了多少星标和分叉?

markdregan/K-Nearest-Neighbors-with-Dynamic-Time-Warping 有 792 个星标和 210 个分叉。

仓库排名是多少?

markdregan/K-Nearest-Neighbors-with-Dynamic-Time-Warping 排名第 13,778。

记录的语言和类别是什么?

markdregan/K-Nearest-Neighbors-with-Dynamic-Time-Warping 有 792 个星标,语言为 Jupyter Notebook,类别为 Model Development。

哪个仓库排名最接近?

markdregan/K-Nearest-Neighbors-with-Dynamic-Time-Warping 与 google/grain 比较,后者排名第 13,777,有 792 个星标。

README

K Nearest Neighbors & Dynamic Time Warping

View IPython notebook

When it comes to building a classification algorithm, analysts have a broad range of open source options to choose from. However, for time series classification, there are less out-of-the box solutions.

I began researching the domain of time series classification and was intrigued by a recommended technique called K Nearest Neighbors and Dynamic Time Warping. A meta analysis completed by Mitsa (2010) suggests that when it comes to timeseries classification, 1 Nearest Neighbor (K=1) and Dynamic Timewarping is very difficult to beat [1].

This repo contains a python implementation (and IPython notebook) of KNN & DTW classification algorithm.

The following IPython notebook evaluates the KNN and DTW classifer by using it to classify human activities (sitting, walking, lying) when given timeseries data from a smart phones gyroscope and accelerometer (HAR dataset).

Human Activity Recognition Dataset

The Human Activity Recognition Dataset (HAR) dataset is chosen to test the classification performance of DTW & KNN [3].

The experiments were carried out with a group of 30 volunteers within an age bracket of 19-48 years. Each person performed six activities (walking, walking upstairs, walking downstairs, sitting, standing and laying) wearing a smartphone (Samsung Galaxy S II) on the waist. Using its embedded accelerometer and gyroscope, we captured 3-axial linear acceleration and 3-axial angular velocity at a constant rate of 50Hz. The experiments have been video-recorded to label the data manually.

References

  1. Mitsa (2010). Temporal Data Mining (Chapter on Temporal Classification).
  2. Xi (2006). Fast Time Series Classification Using Numerosity Reduction.
  3. Davide Anguita, Alessandro Ghio, Luca Oneto, Xavier Parra and Jorge L. Reyes-Ortiz. Human Activity Recognition on Smartphones using a Multiclass Hardware-Friendly Support Vector Machine. International Workshop of Ambient Assisted Living (IWAAL 2012). Vitoria-Gasteiz, Spain. Dec 2012. Read Paper

Credit

  • The progressbar used in the DtwKnn() class was taken from PYMC
  • The matplotlib style and IPython notebook was taken from Cameron Davidson-Pilon's excelent "Bayesian Methods for Hackers"
排名相邻
同类项目