Awesome Open Source
Awesome Open Source


License: MPL 2.0 Gitter chat

Build Documentation Build Linux and Mac OS Build Windows Code Coverage
Documentation Status Build Status Build status Coverage Status

Khiva is an open-source library of efficient algorithms to analyse time series in GPU and CPU. It can be used to extract insights from one or a group of time series. The large number of available methods allow us to understand the nature of each time series. Based on the results of this analysis, users can reduce dimensionality, find out recurrent motifs or discords, understand the seasonality or trend from a given time series, forecasting and detect anomalies.

Khiva provides a mean for time series analytics at scale. These analytics can be exploited in a wide range of use cases across several industries, like energy, finance, e-health, IoT, music industry, etc.

Khiva is inspired by other time series libraries as tsfresh, tslearn and hctsa among others.

Other Matrix Profile implementations


This project is licensed under MPL-v2.


Currently, khiva is supported on Windows, Linux and MacOs, if you need to install the library follow the installation guide.


The rules to contribute to this project are described here.


We have a first approach to generate a build and execute the set of tests on every pull request to the master branch. This process uses travis and appveyor. The status badges of the builds are contained at the beginning of this file.

Referencing Khiva

If you use Khiva in a scientific publication, we would appreciate citations:

 title={Khiva: Accelerated time-series analytics on GPUs and CPU multicores},
 author={Ruiz-Ferrer, Justo and Vilches, Antonio and Torreno, Oscar and Cuesta, David},

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
c-plus-plus (18,749
cpp (1,334
gpu (368
cuda (360
time-series (244
clustering (179
snippets (160
opencl (118
timeseries (103
multicore (17