Code Monkey home page Code Monkey logo

time-series-similarity-search-and-clustering's Introduction

Time-Series Similarity-Search (Nearest Neighbor Search) and Clustering

This project implements two fundamental algorithmic aspects for time-series handling.

  • approximation algorithms for similarity search on time-series.
  • clustering algorithms on time-series.

Part 1 : Similarity-Search Algorithms:

Locality Sensitive Hashing (LSH) on time-series
The time-series are represented as:

  • euclidean polygonal curves, and similarity is measured by implementing the Discrete Frechet Metric.
  • one dimensional polygonal curves, after using dimensionality and complexity reduction techniques (filtering/ Grid Snapping). Similarity in this case is measured using the Continuous Frechet Metric.

Part 2 : Clustering Algorithms:

The implemented clustering algorithms follow the general principle of centroid-based clustering. The clusters are defined by a set of centroids, each time-series is assigned to its (exact or approximate) closest centroid. So the clustering problem is reduced to the initialization and iterative improvement of the centroids, with respect to the input time-series. Various approaches are implemented:

Centroid Initialization:

  • k-means++ initialization technique

Time-Series to Centroid Assignment:

  • Lloyd's exact nearest centroid algorithm (simplest approach)
  • Range search for approximate nearest centroid (using LSH or Hypercube random projection algorithms on time-series)

Update:

  • Mean Curve of time-series assigned to each centroid

The Silhouette metric is used for the evaluation of the quality of the clustering.

Part 3: Unit Tests are implemented

The project was developed as part of the "Software Development for Hard Algorithmic Problems" course of the Computer Science Department of the university of Athens (NKUA)

time-series-similarity-search-and-clustering's People

Contributors

kontsikouris avatar super-m-a-n avatar

Stargazers

 avatar

Watchers

 avatar

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.