Giter Site home page Giter Site logo

tsc-knn's Introduction

TSC-KNN

基于KNN(k-NearestNeighbor,k最近邻)和DTW(Dynamic Time Warping,动态时间归整)的时间序列分类方法

绝大多数信号数据都可以看成1维的时间序列,包括基于时间序列数据的诸如故障诊断,语音识别等应用均涉及时间序列的分类,本项目提供了一种简单高效的基于KNN和DTW的时间序列分类方法。

DTW采用动态规划来计算两个时间序列之间的相似性,算法复杂度为O(N2)。考虑到代码运行效率,这里采用基于C编译的快速DTW方法。

KNN算法采用DTW运算结果作为距离值,采用vote方法进行分类。

data数据集

data

提供了两组数据集,每组均包含训练数据和测试数据,也可自行划分。

该数据集为压电传感器所采集冲击信号,分类标签对应于冲击区域编号A,B,C...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.