Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [time-series]

Time series are data observed over time (either in continuous time or at discrete time periods).

Filter by
Sorted by
Tagged with
86 votes
8 answers
66k views

Time series prediction using ARIMA vs LSTM

The problem that I am dealing with is predicting time series values. I am looking at one time series at a time and based on for example 15% of the input data, I would like to predict its future values....
ahajib's user avatar
  • 1,075
69 votes
5 answers
51k views

Adding Features To Time Series Model LSTM

have been reading up a bit on LSTM's and their use for time series and its been interesting but difficult at the same time. One thing I have had difficulties with understanding is the approach to ...
Rjay155's user avatar
  • 1,215
63 votes
10 answers
67k views

Machine learning - features engineering from date/time data

What are the common/best practices to handle time data for machine learning application? For example, if in data set there is a column with timestamp of event, such as "2014-05-05", how you can ...
Igor Bobriakov's user avatar
37 votes
1 answer
16k views

Time Series prediction using LSTMs: Importance of making time series stationary

In this link on Stationarity and differencing, it has been mentioned that models like ARIMA require a stationarized time series for forecasting as it's statistical properties like mean, variance, ...
PixelPioneer's user avatar
27 votes
2 answers
12k views

How to deal with time series which change in seasonality or other patterns?

Background I'm working on a time series data set of energy meter readings. The length of the series varies by meter - for some I have several years, others only a few months, etc. Many display ...
Jo Douglass's user avatar
24 votes
4 answers
25k views

Looking for a good package for anomaly detection in time series

Is there a comprehensive open source package (preferably in python or R) that can be used for anomaly detection in time series? There is a one class SVM package in scikit-learn but it is not for the ...
pythinker's user avatar
  • 1,257
22 votes
2 answers
92k views

Convert a pandas column of int to timestamp datatype

I have a dataframe that among other things, contains a column of the number of milliseconds passed since 1970-1-1. I need to convert this column of ints to timestamp data, so I can then ultimately ...
Austin Capobianco's user avatar
21 votes
7 answers
12k views

How can I predict traffic based on previous time series data?

If I have a retail store and have a way to measure how many people enter my store every minute, and timestamp that data, how can I predict future foot traffic? I have looked into machine learning ...
user1132959's user avatar
20 votes
5 answers
17k views

Python library to implement Hidden Markov Models

What stable Python library can I use to implement Hidden Markov Models? I need it to be reasonably well documented, because I've never really used this model before. Alternatively, is there a more ...
neural-nut's user avatar
  • 1,783
17 votes
5 answers
17k views

Prediction interval around LSTM time series forecast

Is there a method to calculate the prediction interval (probability distribution) around a time series forecast from an LSTM (or other recurrent) neural network? Say, for example, I am predicting 10 ...
4Oh4's user avatar
  • 308
16 votes
1 answer
10k views

RNN using multiple time series

I am trying to create a neural network using time series as input, in order to train it based on the type of each series. I read that using RNNs you can split the input into batches and use every ...
Ploo's user avatar
  • 333
15 votes
3 answers
69k views

How to remove outliers using box-plot?

I have data of a metric grouped date wise. I have plotted the data, now, how do I remove the values outside the range of the boxplot (outliers)? All the ['AVG'] data is in a single column, I need it ...
Uday T's user avatar
  • 342
15 votes
3 answers
7k views

Modelling Unevenly Spaced Time Series

I have a continuous variable, sampled over a period of a year at irregular intervals. Some days have more than one observation per hour, while other periods have nothing for days. This makes it ...
doublebyte's user avatar
14 votes
2 answers
8k views

How to train model to predict events 30 minutes prior, from multi-dimensionnal timeseries

Experts in my field are capable of predicting the likelyhood an event (binary spike in yellow) 30 minutes before it occurs. Frequency here is 1 sec, this view represents a few hours worth of data, i ...
William D's user avatar
  • 143
14 votes
1 answer
314 views

Recognize a grammar in a sequence of fuzzy tokens

I have text documents which contain mainly lists of Items. Each Item is a group of several token from different types: FirstName, LastName, BirthDate, PhoneNumber, City, Occupation, etc. A token is a ...
OoDeLally's user avatar
  • 241
13 votes
1 answer
15k views

Can Reinforcement learning be applied for time series forecasting?

Can Reinforcement learning be applied for time series forecasting?
Osama Dar's user avatar
  • 599
13 votes
3 answers
22k views

How can autoencoders be used for clustering?

Suppose I have a set of time-domain signals with absolutely no labels. I want to cluster them in 2 or 3 classes. Autoencoders are unsupervised networks that learn to compress the inputs. So given an ...
Tendero's user avatar
  • 243
13 votes
2 answers
23k views

When to use Stateful LSTM?

I'm trying to use LSTM on time-series data in order to generate future sequences that looks like the original sequences in term of values and progression direction. My approach is: train RNN to ...
Hastu's user avatar
  • 418
13 votes
1 answer
721 views

Classify Customers based on 2 features AND a Time series of events

I need help on what should be my next step in an algorithm I am designing. Due to NDAs, I can't disclose much, but I'll try to be generic and understandable. Basically, after several steps in the ...
JusefPol's user avatar
  • 131
12 votes
6 answers
33k views

Check similarity between time series

I have time series of parameters A, B, C and D. All of ...
KcFnMi's user avatar
  • 343
12 votes
3 answers
5k views

How to animate growth of a social network?

I am seeking for a library/tool to visualize how social network changes when new nodes/edges are added to it. One of the existing solutions is SoNIA: Social Network Image Animator. It let's you make ...
Wojciech Walczak's user avatar
12 votes
5 answers
13k views

How to merge monthly, daily and weekly data?

Google Trends returns weekly data so I have to find a way to merge them with my daily/monthly data. What I have done so far is to break each serie into daily data, for exemple: from: 2013-03-03 - ...
Lucas Morin's user avatar
  • 2,234
11 votes
3 answers
20k views

Dynamic Time Warping is outdated?

At http://www.speech.zone/exercises/dtw-in-python/ it says Although it's not really used anymore, Dynamic Time Warping (DTW) is a nice introduction to the key concept of Dynamic Programming. I ...
Make42's user avatar
  • 752
11 votes
3 answers
18k views

What is the best method for classification of time series data? Should I use LSTM or a different method?

I am trying to classify raw accelerometer data x,y,z to its corresponding label. What is the best architecture for best results? Or, does anyone have any suggestions on LSTM architectures built on ...
rosy's user avatar
  • 143
11 votes
4 answers
4k views

Feature Extraction Technique - Summarizing a Sequence of Data

I often am building a model (classification or regression) where I have some predictor variables that are sequences and I have been trying to find technique recommendations for summarizing them in the ...
B_Miner's user avatar
  • 702
11 votes
4 answers
28k views

How can Time Series Analysis be done with Categorical Variables

Most of the time series analysis tutorials/textbooks I've read about, be they for univariate or multivariate time series data, usually deal with continuous numerical variables. I currently have a ...
Brian Yen's user avatar
  • 111
11 votes
1 answer
21k views

Keras LSTM with 1D time series

I'm learning how to use Keras and I've had reasonable success with my labelled dataset using the examples on Chollet's Deep Learning for Python. The data set is ~1000 Time Series with length 3125 with ...
user1147964's user avatar
11 votes
2 answers
5k views

Trying to use TensorFlow to predict financial time series data

I'm new to ML and TensorFlow (I started about a few hours ago), and I'm trying to use it to predict the next few data points in a time series. I'm taking my input and doing this with it: ...
Isvara's user avatar
  • 211
10 votes
4 answers
13k views

Classify multivariate time series

I have a set of data composed of time series (8 points) with about 40 dimensions (so each time series is 8 by 40). The corresponding ouput (the possible outcomes for the categories ) is eitheir 0 or 1....
AugBar's user avatar
  • 203
10 votes
5 answers
4k views

Time-series grouped cross-validation

I have data with the following structure: ...
David Masip's user avatar
  • 6,081
10 votes
2 answers
11k views

Is it valid to shuffle time-series data for a prediction task?

I have a time-series dataset that records some participants' daily features from wearable sensors and their daily mood status. The goal is to use one day's daily features and predict the next day's ...
Han's user avatar
  • 103
10 votes
2 answers
6k views

Forecasting non-negative sparse time-series data

I have a time-series dataset (daily frequency) representing the sales of a product to a customer over time. The sales is represented as the following: $$[0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, ...
Bernardo Aflalo's user avatar
10 votes
3 answers
22k views

Multivariate Time-Series Clustering

I have a streaming data along with timestamp dataset that looks like this: 1.png Timestamp can be inclusive of "seconds" too, but the data may or may not change every second. it depends on ...
Abhinaya Krishna's user avatar
9 votes
1 answer
2k views

Binary classification of every time series step based on past and future values

I'm currently facing a Machine Learning problem and I've reached a point where I need some help to proceed. I have various time series of positional (x, ...
Chris's user avatar
  • 245
9 votes
3 answers
9k views

Multivariate Time series analysis: When is a CNN vs. LSTM appropriate?

I have multiple features in a time series and want to predict the values of the same features for the next time step. I have already trained an LSTM which is working okay, but takes a bit long to ...
drops's user avatar
  • 220
9 votes
1 answer
11k views

How fbprophet cross validation works

I am facing some issues to understand how cross_validation function works in fbprophet packages. I have a time series of 68 days (only business days) grouped by 15min and a certain metric : 00:00 ...
Katy's user avatar
  • 93
9 votes
1 answer
4k views

Is time series multi-step ahead forecasting a sequence to sequence problem?

I'm using the keras package in order to train an LSTM for a univariate time series of type numeric (float). Performing a 1-step ahead forecast is trivial, but I'm not sure how to perform a, let's say, ...
sevelf's user avatar
  • 91
9 votes
2 answers
5k views

LSTM Feature selection process

We need to implement a time series problem with the LSTM model. But, while implementing the same, the main challenge I am facing is the feature selection issue. Because our data-set contains 2300 ...
Abhishek Saha's user avatar
9 votes
2 answers
5k views

LSTM: How to deal with nonstationarity when predicting a time series

I want to do one-step-ahead predictions for time series with LSTM. To understand the algorithm, I built myself a toy example: A simple autocorrelated process. ...
Elias Strehle's user avatar
9 votes
2 answers
1k views

Input for LSTM for financial time series directional prediction

I'm working on using an LSTM to predict the direction of the market for the next day. My question concerns the input for the LSTM. My data is a financial time series $x_1 \ldots x_t$ where each $x_i$...
articuno's user avatar
8 votes
2 answers
9k views

DTW (Dynamic Time Warping) requires prior normalization?

I'm trying DTW from mlpy, to check similarity between time series. Should I normalize the series before processing them with DTW? Or is it somewhat tolerant and I can use the series as they are? All ...
KcFnMi's user avatar
  • 343
8 votes
2 answers
223 views

Linearly increasing data with manual reset

I have a linearly increasing time series dataset of a sensor, with value ranges between 50 and 150. I've implemented a Simple Linear Regression algorithm to fit a regression line on such data, and I'm ...
ArunDhaJ's user avatar
  • 183
8 votes
2 answers
6k views

Why are RNN/LSTM preferred in time series analysis and not other NN?

I had recently a great discussion about the advantages of RNN/LSTM in time series analysis in comparison to other Neural Networks like MLP or CNN. The other side said, that: The NN just have to be ...
Mimi Müller's user avatar
8 votes
1 answer
4k views

Using time series data from a sensor for ML

I have the following data for a little side project. It's from an accelerometer sitting on top of a washer/dryer and I'd like it to tell me when the machine has finished. x is the input data (x/y/z ...
laktak's user avatar
  • 181
8 votes
2 answers
244 views

Time-series prediction: Model & data assumptions in AI/ML models vs conventional models

I was wondering if there was a good paper out there that informs about model and data assumptions in AI/ML approaches. For example, if you look at Time Series Modelling (Estimation or Prediction) ...
Maeaex1's user avatar
  • 550
8 votes
2 answers
2k views

Forecasting Multiple (few hundreds) uni-variate time series with inflated zeros

I am a novice seeking help to gain experience in Data Science. Let us take a scenario where a big company would like to forecast its sales (a specific product) across different stores in different ...
wlaura's user avatar
  • 81
8 votes
1 answer
6k views

how to compare different sets of time series data

I am trying to do some anomaly detection between time#series using Python and sklearn (but other package suggestions are definitely welcome!). I have a set of 10 time-series; each time-series ...
alwaysaskingquestions's user avatar
8 votes
1 answer
9k views

Multiple output for multi step ahead prediction using LSTM with keras

I am new to deep learning and LSTM (with keras). I am trying to solve a multi-step ahead time series prediction. I have 3 time series: A, B and C and I want to predict the values of C. I am training ...
NCL's user avatar
  • 211
7 votes
3 answers
7k views

Is time series forecasting possible with a transformer?

For my bachelor project I've been tasked with making a transformer that can forecast time series data, specifically powergrid data. I need to take a univariate time series of length N, that can then ...
Sebastian Eliassen's user avatar
7 votes
4 answers
24k views

Anomaly detection on time series

I've just started working on an anomaly detection development in Python. My data sets are a collection of timeseries. More in details, data are coming from some sensors/meters which record and ...
Giordano's user avatar
  • 345

1
2 3 4 5
38