# Questions tagged [time-series]

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

1,780 questions
Filter by
Sorted by
Tagged with
12 views

### Time series: Why does this data have seasonality on periods where observed values are zero

I'm a novice to time series and am using seasonal_decompose() to split a time series into three components: trend, seasonality, and residuals as below: As shown in ...
• 109
15 views

### Class relationship based on location and time

I have a spatio-temporal dataset with a binary label. Is there any way I can find out if there is a relationship between the two class labels based on their location and time? Dataset columns - ...
25 views

### In ensembles combining models, does it make sense for a model to have negative weight?

I have 13 models ranging from simple models like Seasonal Naïve Average to complex models like Random Forests, The weights of the models is calculated based on the LPMinimize of the error during the ...
28 views

### Input Tensor Shape for CNN Binary Classification of Time Series Data

I want to predict whether a machine will fail based on the most recent set of measurements taken by on-board sensors. I have several dozen machines, each with a sensor that takes a measurement at ...
14 views

### Is it correct to generate similar rows by reducing the time-frame of an instance?

I'm participating in a People Analytics project with a small historic dataset that includes event variables. The aim is to predict employee's attrition. I have variables like area, dept., company, etc....
• 61
12 views

### Can a Binary classifier be used to understand the relationship between categorical data and multivariable time series data?

I'm looking for peoples advice and opinions on a certain analysis approach I'm thinking of doing for my experiment. Experiment Effectively I flash a light into a mouse's eyes and record the activity ...
10 views

### Do we need padding in global time series models?

In order to forecast product demand for a costumer, I need to predict time series of different lengths. I am using mostly global lightgbm models to do the job. In most use cases, it is common practice,...
7 views

### Unstable loss in binary classification for time-series data - extremely imbalanced dataset

I am working on deep learning model to detect regions of timesteps with anomalies. This model should classify each timestep as possessing the anomaly or not. My labels are something like this: ...
• 73
72 views

### CNN for time series: Input 0 of layer "conv2d_5" is incompatible with the layer: expected min_ndim=4, found ndim=2. Full shape received: (None, 2)

I am trying to use CNN on multivariate time series instead the most common usage on images. The number of features are between 90 and 120, depending on which I need to consider and experiment. This is ...
34 views

### Summerize features for time-series predicted result

Background Our project is to classify if the given meter is EV or not, we got time-series data for each meter, got columns like time(30min intervals), and consumption in power. We also have some users ...
18 views

### Number of CNN's for processing timeseries using 2D CNN

I am processing time-series for classification using 2D CNN model (single channel) where I have converted stationary time series data into 2D image using an "imaging algorithm" known as ...
• 156
19 views

11 views

### Would Stacking improve accruacy if base model accruacy is not good?

Problem: I would like to improve accuracy of stock price prediction image classification model using candlestick charts. Base model: VGG16 and EfficientNet. Base model input: Two models independently ...
13 views

### how to classify sequence of ball coordinate x,y with LSTM

I am working on a problem where I need to classify the sequence of ball coordinates X and Y with LSTM or another model. I have two classes rally(1) and not rally(0). I want to get as an input model a ...
29 views

### linear regression - at future time points

I have a dataset of customer transactions containing revenue, customer id, region, product category, product id, support team, date of transaction etc. The data ranges from Jan 2017 to Nov 2nd 2022. ...
• 2,387
19 views

### What is the fastest way to detect lag and calculate cross correlation of two binary time series?

Example, arr1 = array([0,0,0,1,1,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0]) arr2 = array([1,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0]) arr2 is almost perfectly correlated with ...
• 11
20 views

### Data stock pricing Python, unsuported string error

I have the data of stock prices and I reduced it to a smaller data set. ...
8 views

### How to find top k most co-related time series among a large set of time-series

Background: I am doing a project on epidemiological time series fore-castings, in which I am required to make predictions of a disease based on several symptoms. About the dataset: The dataset of ...
14 views

### Difference between batch_size in TimeSeriesGenerator and model.fit batch_size

im wondering if there is a difference between the batch_size set in the TimeSeriesGenerator and the batch_size in the model_fit. I create some RNN Forecasts for timeseries. ...
• 11
23 views

### What type of machine learning Is suitable on Arduino to predict anxiety with certain parameters?

I am working on a project that involves the prediction of three different anxiety states according to the galvanic skin response, peripheral skin Temperature and Heart rate (BPM). In order to learn my ...
1 vote
21 views

### Creating a dataframe using roll-forward window on multivariate time series

Based on the simplifed sample dataframe ...
• 121
1 vote
43 views

### Is it possible to train a RNN using multiple time series?

I have multiple time series (about 200) of soil moisture behavior after saturation in different soil types. They are all the same length and nearly the same shape, differing only in their ultimate ...
1 vote
17 views

### Using Fourier Terms and lags in Time Series Forecasting with R

I wish to use Fourier terms as predictors in my XGBoost model. My date is weekly sales from the timetk::walmart_sales_weekly dataset in R. To use Fourier terms there are two arguments required in the ...
• 261
8 views

### How to choose the threshold for recurrence plot?

Context: I'm doing the final project for my bachelors and it's about identifying apnea in eeg signals with a CNN. I'm dividing the signal in equally sized segments and then generating images for each ...
10 views

### Sparse set of risk features for churn style model

I'm looking for different approaches to formulate the following problem: Say you have a group of features on customers for your shop. These are all interaction features with your website, and some ...
• 435
23 views

### Time Series figures finder

I have been working on a continuous Time Series with the objective of creating an algorithm that finds some specific kind of figures defined by the graph of the curve. I partially solved the problem ...
• 13
1 vote
65 views

### Why so discrepancy between ARIMA and LSTM in time series forecasting?

I have this time series below, that I divided into train, val and test: Basically, I trained an ARIMA and an LSTM on those data, and results are completely different, in terms of prediction: ARIMA: ...
• 209
28 views

### Work with tabular data and many time series

I'm working on a credit default prediction problem. I have bureau data that contains general information on past loans (loan amount, interest rate, etc.). And credit information for every month. How ...
• 161
15 views

### Multivariate time series prediction with categorical features

I have a time series problem where I have to predict a t+1 value having a set of features representing the status of the problem. for instance my dataset is: ...
• 113
36 views

### How to convert postgresql tabular data to a numpy array?

I'm completely new to data science and I have a problem that I need help in resolving. I have time series data (with 87 million rows currently, though that will grow) with x, y coordinates, a ...
• 101
23 views

### How to scale a subset of data with respect to the entire dataset

I am developing a financial time-series prediction model using sklearn using StandardScaler for scaling purposes. I train a model, and then use the model regularly ...
1 vote
14 views

### Need to predict account activity based on history

I have three datasets, one containing app status information, the second containing account info, and the third being activity logs for the past couple years or so. The activity logs contain records ...