Skip to main content

Questions tagged [time-series]

For questions related to time series analysis or forecasting in the context of AI and, in particular, ML.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

What is the reason for the difference between the expected input tensor order for LSTM and Conv1d?

What is the reason for the difference between the expected input tensor order for LSTM and Conv1d? Say I have an input tensor for time series data of shape ...
Theta's user avatar
  • 1
0 votes
0 answers
19 views

Architecture of an LSTM with multiple (dependent?) time series

If you have multiple time series data for a given problem (e.g predicting house prices and data is available per city). Per city there is a list of features and the target feature. If you want to ...
HEH's user avatar
  • 1
0 votes
0 answers
12 views

Why time based neuron still needed when the time-series data can be converted to time-freq domain (image) and use CNN for that?

LSTM, BI-LSTM, GRU, RNN are time-step based neuron. Why it still needed specifically for time-series data? I mean, we can just transform the time-series data into spectrogram and use CNN for that. For ...
Muhammad Ikhwan Perwira's user avatar
0 votes
0 answers
11 views

Formatting time-series data for LSTM model

To my knowledge, LSTM models take 3D input data of the format (batch_size, timesteps, features). But, when creating the batches, I've often seen them literally add a batch where the data is just ...
Dylan McClish's user avatar
0 votes
1 answer
23 views

How do I prepare a multi group time series dataset into a supervised learning one?

ML newbie here, I have a time series dataset that looks like this: ...
Snak's user avatar
  • 1
0 votes
0 answers
19 views

HuggingFace : Expert Model for Weather Forecasting Ensembles

I'm looking into recent Weather Forecasting Models like FourcastNet, GraphCast, Pangu Weather etc. For weather forecasting, I found Encoder-Decoder architecture the predominantly used design. But can ...
Genie's user avatar
  • 1
0 votes
1 answer
36 views

Determining optimal data size for generalization in transformer encoders, particularly for Time-Series signal data

I'm currently experimenting with training a model that employs a single transformer encoder on time-series signal data. Despite having a relatively small dataset of around 50 examples, each with a ...
Kulin Patel's user avatar
0 votes
0 answers
24 views

Preparation of multivariate time series data

I am doing a university project on index/stock price prediction. I plan to use a combined cnn-lstm model, and I have several different types of data: Open High Low Close Volume, values, fundamental ...
Ivan's user avatar
  • 1
0 votes
0 answers
21 views

What machine learning algorithms are used in demand forecasting?

What are the most commonly used machine learning algorithms used in demand forecasting?
Mika's user avatar
  • 361
0 votes
0 answers
15 views

Modeling sales of a market in a country

As a student I got a task to model a particular market in a particular country. A company, my teacher collaborate with, provided to us a sales dataset that contains: 30 product families and 60 ...
Nick's user avatar
  • 1
0 votes
0 answers
15 views

Predicition of future batches in time series

i am working with neural networks and i want to predict the time series further ahead. I did a course on neural networks where this kind of problem is faced. But i dont really understand how it works. ...
xSequenic's user avatar
1 vote
1 answer
42 views

Beginner need help - identify data [closed]

I am learning Tensorflow, and I have a specific problem I want to solve. I want to identify on/off of my large power consumers at home. And calculate the power consumption elsewhere. I expect to input ...
povlhp's user avatar
  • 11
0 votes
0 answers
37 views

What should you consider when splitting timeseries data into train and test sets?

My goal is to classify windows of multivariate timeseries data into a positive and a negative class. When I construct sliding time windows and randomly shuffle them into the train and test sets, I get ...
bonzo_pippinpaddle's user avatar
0 votes
1 answer
331 views

What are alternatives to PCA for time series data?

I have some data (20 stock price time series) and want to compare different approaches for dimensionality reduction other than PCA (I want to fit only 2 variables in my AR model). I've tried ...
J_Bake's user avatar
  • 11
0 votes
0 answers
19 views

Why use auto-regressive models for time-series?

This is a naive question... But I realized that auto-regressive predictions can be inherently unstable due to previous prediction error monotonically accumulating in the inputs: $M(h_{t-n},...,h_{t-m},...
profPlum's user avatar
  • 434
0 votes
0 answers
38 views

Realtime Inference of Stateful Variable-Length Time Series LSTM - Getting around Sequence Length vs Inference Frequency Tradeoff

I am trying to train a neural net for low-latency signal filtering; I've been recommended to use a stateful LSTM architecture for this task, however, having corrected some , it seems to me that trying ...
stellarpower's user avatar
0 votes
0 answers
18 views

Difficulty with 'group_by' in Polars

I am new to polars, trying to convert my pandas code to polars. The below code is in pandas, (book --> pd.DataFrame) ...
Sarvagya Porwal's user avatar
0 votes
0 answers
30 views

Optimal number of epochs for Transformer network on time series data?

I have a transformer network that is trained on time series data. The task is to predict if a variable will increase a certain percentage in the next dt days. The input is data from the 90 previous ...
QCQCQC's user avatar
  • 101
1 vote
1 answer
1k views

When are Transformers better than LSTMs in time-series tasks such as classification?

I’m working on a time-series classification problem and trying to decide whether to use a Transformer or an LSTM. From what I’ve learned, Transformers are better suited for capturing long-range ...
Mark Cortejo's user avatar
1 vote
1 answer
106 views

Is there any advantage to providing multi-dimensional input to torch modules?

Most layer types in torch.nn such as torch.nn.Linear accept input with more than one dimension. Is there any advantage in doing so if you can shape your data to represent a certain arrangement in ...
kot's user avatar
  • 13
0 votes
0 answers
13 views

Improving forecast for LSTM with additional data

There are two timeseries X and Y. The timeseries X spans the duration [1 Jan, 20 Jan ] and the Y spans [1 Jan, 25 Jan].  I am interested in timeseries forecasting of variable X for the duration [21 ...
pkj's user avatar
  • 101
0 votes
0 answers
28 views

Simultaneous forecasting and classification

I'm working on a project where I need to perform both forecasting (regression) and classification using time series data. The dataset is labelled. I've been exploring LSTM networks due to their ...
mike7's user avatar
  • 1
0 votes
0 answers
23 views

How to extract features from patterns in time series data

I have a time series welding data I wanted to create a model which can predict some weld parameters but extracting those parameters from time series data is being so difficult. Currently I tried ...
THUNDER 07's user avatar
0 votes
0 answers
19 views

How is the accuracy as a metric in a Keras machine learning model calculated? Is it a valuable metric for LSTM

I'm training a LSTM neural network for time series prediction in Keras. During the training of the model, the loss (mse) gradually decreases each epoch, but the accuracy as well as the validation ...
Mappy's user avatar
  • 1
0 votes
0 answers
59 views

Is my 1D signal using CNN & RNN regression reasonable?

I want to know if my impact-echo signals are proper with CNN or RNN regression model. I got some simulated signal, as following shows. In previous research, people mostly consider frequency or even ...
hui30319's user avatar
0 votes
0 answers
18 views

RNN - Time To Stop extimation given non-categorical events sequence

I have a dataset which contains sequences of event of the following type: Timestamp_s Timestamp_e Event_type I've preprocessed the data to create sequences of the shape [seq_size, unique_codes_count]...
GPU'njoyer's user avatar
0 votes
0 answers
75 views

Backpropagation in a transformer

I have a transformer for timeseries forcasting based on this article https://arxiv.org/abs/2001.08317 Given a source containing $src=(x_{t-5},x_{t-4},x_{t-3},x_{t-2},x_{t-1})$ and a target of $tgt=(x_{...
Michał Kuczynski's user avatar
0 votes
0 answers
5 views

Multi Output Regression but num of objects to predict vary per sample

so recently I came across a problem of predicting the positions of objects from a pulse wave. My biggest concern here is that for each data sample, the number of objects varies. I know that this ...
mim96's user avatar
  • 1
0 votes
0 answers
21 views

How do I find a similar RNN as a starting point?

I am new to machine learning and neural networks and I want to create a neural network for a study project. I would like to create a RNN, that uses one (A) or several time series (with the same length,...
xlaub's user avatar
  • 1
0 votes
0 answers
91 views

LSTM Ensemble: Combine low, mid, and high frequency time series data

I am trying to implement time series classification, but I am struggling a bit with the fact that my multivariate data has mixed frequencies. I have about 10 variables that are updated every minute, ...
Ai4l2s's user avatar
  • 121
0 votes
1 answer
42 views

How to classify positional time series data?

I am working with a data set that includes (x, y, z) coordinates and timestamps of human movement. The input data looks something like: ...
Jason Shaev's user avatar
1 vote
0 answers
28 views

What are the most common fault prediction algorithms?

I have to predict a fault (automotive related) as much in advance as possible. Right now I have found a solution that is somewhat satisfactory (a good number of true positives and a low number of ...
Pigna's user avatar
  • 295
0 votes
1 answer
2k views

Which preprocessing is the correct way to forecast time-series data using LSTM?

I just started to study time-series forecasting using RNN. I have a few months of time series data that was an hour unit. The data is a kind of percentage value of my little experiment and I would ...
orde.r's user avatar
  • 103
1 vote
0 answers
35 views

How is batch data processed in a 1D convolution layer?

Suppose I have a time series data written in a matrix $\mathbf{X} \in \mathbb{R}^{N \times d}$. The sequence length is $N$ and $d$ is the number of features (I have $d$ series). Say I have a batch of $...
poglhar's user avatar
  • 23
0 votes
1 answer
41 views

Feature Extraction for timeseries temperature signal [closed]

i have two temperature signals from which one is sensitive toward a specific event. I would like to know what other features can be useful to extract apart from: Angles (between the two). Slopes ( ...
Mirza's user avatar
  • 61
1 vote
1 answer
110 views

Creating a Dataset from Time Series Data

Context I'd like to build a regression model for this data to predict a user's test scores given their study habits. Basically, the variables are in two separate csv tables similar to the ones below. ...
LittleLulatsch's user avatar
0 votes
1 answer
25 views

Regression Model diverging after adding a new feature with higher variance and magnitude

In a time series regression problem I'm predicting "change" rather than the actual intended value i.e Instead of: ...
Darren Rahnemoon's user avatar
2 votes
1 answer
87 views

How to fine tune model on dataset which is having different shape compared to dataset model is trained on

I am having 2 questions as follows: I am using normal CNN model for time series classification, Where my dataset1 is of shape (28,9,1) and I trained my CNN model on dataset1, where now the input ...
Arjun Reddy's user avatar
1 vote
1 answer
81 views

Transfer Learning for Solar Energy Production Forecasting with LSTM: Generalized vs. Specialized Models

I am working on a solar energy production forecasting problem using LSTM multi-step models to predict 1/4/8h ahead of solar energy production for different solar installations. Our goal is to help ...
Guilherme Vieira's user avatar
0 votes
1 answer
2k views

Difference between sequence length and hidden size in LSTM

It does not come clear to me how the seq_length is not the exact same as the hidden_size in LSTMs. For example, in the next ...
moth123's user avatar
  • 31
-1 votes
1 answer
80 views

Are there public examples of AI models that predicted short-term price well?

This question is inspired by Is there any AI model that predicts short-term stock price well?. As answered, game theoretically either nobody would reveal such a model or it would have been alread ...
Rexcirus's user avatar
  • 1,174
0 votes
1 answer
83 views

What reinforcement learning algorithm should I use for the following problem?

Environment I have a static timeseries environment meaning the environment is the same. This problem is a multi armed bandit problem. Time t0 t1 t2 State s0 s1 s2 Score 10 0.1 0.2 Class 1 0 0 ...
adamwest's user avatar
0 votes
1 answer
144 views

Is there any AI model that predicts short-term stock price well?

One simple way of predicating short-term stock price is to simply take the average price of the previous few days. I wonder if there is some AI model/methods which can do better than this using only ...
LeafGlowPath's user avatar
1 vote
1 answer
54 views

Many To One LSTM - Can I Use the Same Sequence as Input from Previous Timesteps?

I'm new to LSTMs, and I'm trying to do a basic timeseries prediction using stock prices. However, I'm a bit confused as to how the LSTM is supposed to remember outputs from previous timesteps when it ...
Krusty the Clown's user avatar
1 vote
0 answers
25 views

SCINet: how does interactive learning work?

i'm having some trouble understanding how does the basic building block of a SCINet works. In the paper the author describes the SCI-block with the following figure: In which $\phi$, $\theta$, $\eta$ ...
Juan Hirschmann's user avatar
0 votes
2 answers
629 views

Should I use multi-armed-bandits or RL for a financial time-series problem?

If we take simple financial timeseries data(stock/commodity/currency prices), State(t+1) does not depend on the action that we choose to take at State(t) as in Maze or Chess problem. Simple example: ...
kobo's user avatar
  • 3
0 votes
1 answer
37 views

Should we always use the usual no leakage train-val-test splt in time series?

Some of you may be familiar with the unusual split scheme used for time-series data. In short, there is a saying that one should only consider a split where the training set comes prior to the testing ...
Hadar Sharvit's user avatar
1 vote
1 answer
69 views

What type of neural network architecture allows filtering out of unwanted sounds?

I have a use case where I will be inputting audio to a model, and the output of the model will be the same audio except with certain sounds removed (volume set to zero). The dataset is generated by ...
HonestMath's user avatar
-1 votes
1 answer
247 views

Generating synthetic time series data with limited data

I would like some opinions on my current situation. I have a set of time series data that I want to forecast. The data however is not very long (around 500 rows) so I was looking into generating many ...
codinator's user avatar
0 votes
1 answer
158 views

Can i train xgboost on multiple time series csv files at the same time?

I built an xgboost model to predict stock it now trains on 1 stock at a time its a csv file I use pandas to load it. Is there a way to train the model on multiple stocks at the same time? What would ...
AJB's user avatar
  • 1