All Projects → TimeSynth → Timesynth

TimeSynth / Timesynth

Licence: mit
A Multipurpose Library for Synthetic Time Series Generation in Python

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Timesynth

Tsai
Time series Timeseries Deep Learning Pytorch fastai - State-of-the-art Deep Learning with Time Series and Sequences in Pytorch / fastai
Stars: ✭ 407 (+139.41%)
Mutual labels:  jupyter-notebook, time-series, timeseries
Kaggle Web Traffic
1st place solution
Stars: ✭ 1,641 (+865.29%)
Mutual labels:  jupyter-notebook, time-series, timeseries
Brein Time Utilities
Library which contains several time-dependent data and index structures (e.g., IntervalTree, BucketTimeSeries), as well as algorithms.
Stars: ✭ 94 (-44.71%)
Mutual labels:  series, time-series, timeseries
Simplestockanalysispython
Stock Analysis Tutorial in Python
Stars: ✭ 126 (-25.88%)
Mutual labels:  jupyter-notebook, time-series, timeseries
Kaggle Web Traffic Time Series Forecasting
Solution to Kaggle - Web Traffic Time Series Forecasting
Stars: ✭ 29 (-82.94%)
Mutual labels:  jupyter-notebook, time-series, timeseries
Stingray
Anything can happen in the next half hour (including spectral timing made easy)!
Stars: ✭ 94 (-44.71%)
Mutual labels:  jupyter-notebook, time-series, timeseries
Tsmoothie
A python library for time-series smoothing and outlier detection in a vectorized way.
Stars: ✭ 109 (-35.88%)
Mutual labels:  jupyter-notebook, time-series, timeseries
Jhtalib
Technical Analysis Library Time-Series
Stars: ✭ 131 (-22.94%)
Mutual labels:  series, time-series
Rubico
[a]synchronous functional programming
Stars: ✭ 133 (-21.76%)
Mutual labels:  series, generator
Sweep
Extending broom for time series forecasting
Stars: ✭ 143 (-15.88%)
Mutual labels:  time-series, timeseries
Gorilla Tsc
Implementation of time series compression method from the Facebook's Gorilla paper
Stars: ✭ 147 (-13.53%)
Mutual labels:  time-series, timeseries
Scipy con 2019
Tutorial Sessions for SciPy Con 2019
Stars: ✭ 142 (-16.47%)
Mutual labels:  jupyter-notebook, time-series
Vde
Variational Autoencoder for Dimensionality Reduction of Time-Series
Stars: ✭ 148 (-12.94%)
Mutual labels:  jupyter-notebook, time-series
Indicators.jl
Financial market technical analysis & indicators in Julia
Stars: ✭ 130 (-23.53%)
Mutual labels:  time-series, timeseries
Stldecompose
A Python implementation of Seasonal and Trend decomposition using Loess (STL) for time series data.
Stars: ✭ 130 (-23.53%)
Mutual labels:  jupyter-notebook, time-series
Data science blogs
A repository to keep track of all the code that I end up writing for my blog posts.
Stars: ✭ 139 (-18.24%)
Mutual labels:  jupyter-notebook, time-series
Anomaly detection tuto
Anomaly detection tutorial on univariate time series with an auto-encoder
Stars: ✭ 144 (-15.29%)
Mutual labels:  jupyter-notebook, time-series
Pyfts
An open source library for Fuzzy Time Series in Python
Stars: ✭ 154 (-9.41%)
Mutual labels:  series, time-series
Asap
ASAP: Prioritizing Attention via Time Series Smoothing
Stars: ✭ 151 (-11.18%)
Mutual labels:  jupyter-notebook, time-series
Java Timeseries
Time series analysis in Java
Stars: ✭ 155 (-8.82%)
Mutual labels:  time-series, timeseries

Build Status codecov

TimeSynth

Multipurpose Library for Synthetic Time Series

Please cite as:
J. R. Maat, A. Malali, and P. Protopapas, “TimeSynth: A Multipurpose Library for Synthetic Time Series in Python,” 2017. [Online]. Available: http://github.com/TimeSynth/TimeSynth

TimeSynth is an open source library for generating synthetic time series for model testing. The library can generate regular and irregular time series. The architecture allows the user to match different signals with different architectures allowing a vast array of signals to be generated. The available signals and noise types are listed below.

N.B. We only support Python 3.6+ at this time.

Signal Types

  • Harmonic functions(sin, cos or custom functions)
  • Gaussian processes with different kernels
    • Constant
    • Squared exponential
    • Exponential
    • Rational quadratic
    • Linear
    • Matern
    • Periodic
  • Pseudoperiodic signals
  • Autoregressive(p) process
  • Continuous autoregressive process (CAR)
  • Nonlinear Autoregressive Moving Average model (NARMA)

Noise Types

  • White noise
  • Red noise

Installation

To install the package via github,

git clone https://github.com/TimeSynth/TimeSynth.git
cd TimeSynth
python setup.py install

Using TimeSynth

$ python

The code snippet demonstrates creating a irregular sinusoidal signal with white noise.

>>> import timesynth as ts
>>> # Initializing TimeSampler
>>> time_sampler = ts.TimeSampler(stop_time=20)
>>> # Sampling irregular time samples
>>> irregular_time_samples = time_sampler.sample_irregular_time(num_points=500, keep_percentage=50)
>>> # Initializing Sinusoidal signal
>>> sinusoid = ts.signals.Sinusoidal(frequency=0.25)
>>> # Initializing Gaussian noise
>>> white_noise = ts.noise.GaussianNoise(std=0.3)
>>> # Initializing TimeSeries class with the signal and noise objects
>>> timeseries = ts.TimeSeries(sinusoid, noise_generator=white_noise)
>>> # Sampling using the irregular time samples
>>> samples, signals, errors = timeseries.sample(irregular_time_samples)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].