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
0
votes
1answer
13 views

Anomaly Detection and Removal/Interpolate

I am performing a machine learning regression task on time series data. I have a data frame filled with the close prices of various assets and economic data. I am looking to perform outlier detection ...
0
votes
0answers
16 views

Precision, Recall and/or F1? Which should I use? or something different?

I am trying to use tensorflow to predict a decision based on a timeseries dataset. I have three classes: "Wait", ...
0
votes
0answers
20 views

Building a Model for Time Series Data in R (no forecasting)

Problem: I had planned to use a linear regression model to model time series data in retrospect (i.e., no forecasting). However, I am wondering if this is the best option having come across a few ...
0
votes
1answer
24 views

ML algorithm for high dimensional time series forecasting

I'm trying to make a forecasting model for goods prices in an economy (trying to forecast inflation). Dataset: has 300 goods prices % monthly variations for last 6 years. And also added $n$ ...
1
vote
2answers
30 views

unsupervised anomaly detection for univariate fast frequency time series data?

I have a univariate time series (there is a value for each time sampling) (sampling time: 66.66 micro second, number of samples/sampling time=151) coming from a scala customer This time series ...
0
votes
1answer
17 views

time series anomaly detection

I want to ask for time series anomaly detection we can apply tranformer architecture on multiple features or not? I used transformer for sentiment analysis where I have to provide a sentence and it ...
0
votes
0answers
7 views

How to clean/analyze relative time series data

I'm relatively new to data science, and I decided to stretch a bit and try a project with time series data. I downloaded the Human Activity Recognition from Continuous Ambient Sensor Data Data Set, ...
1
vote
1answer
21 views

What methods are there for predicting a signal?

I have a large dataset of signals (composed of time series). All time series describe the same process, but each series has a different duration (number of points). Based on these time series, I want ...
0
votes
0answers
13 views

Quantifying treatment effect in Interrupted Time Series

I have a multivariate time series dataset, from which I am building an ITS (Interrupted Time Series) model by using facebook's Prophet to construct the counterfactual. Let's say I have a y variable ...
0
votes
0answers
7 views

regressor column might have different length

I'm attempting to use a neural network to do some time series forecasting. The goal is to forecast price and I have a fewer regressors to help along like fuel prices and number of sick people among ...
0
votes
1answer
17 views

finding winning strategy

For a given asset, I have simulations of the price and implied volatility for T periods in N scenarios. Furthermore, assuming that I know the value of the risk-free asset (and the dividend yield), I ...
1
vote
0answers
17 views

Question about a reading

So I'm trying to do multivariate time series prediction and a google search led me to this article: https://bookdown.org/singh_pratap_tejendra/intro_time_series_r/neural-networks-in-time-series-...
0
votes
0answers
26 views

Sensitivity analysis in time series forecasting

Given a data set consisting of features time signals $X=[x_1,\dots, x_n]$ and one target time series $y$, I would like to study the sensitivity of $y$ with each of the $x$'s. What I think: Compute ...
0
votes
0answers
13 views

times series prediction with several regressors( using R)

Absolute beginner here. I'm trying to use a neural network to predict price of a product that's being shipped while using temperature, deaths during a pandemic, rain volume, and a column of 0 and 1's (...
0
votes
1answer
18 views

Should I use an LSTM model when the outcome is a different variable from the training data?

I am trying to model a health outcome as a function of climate variables. I have many observations of health outcomes at different times and locations (but NOT a sequence at one location). For each ...
0
votes
0answers
58 views

What is the right way to make prediction with time series forecasting models?

I'm into ML and data science for a while but now I started exploring time-series forecasting, and I have (lets say) a simple question: What are the features/inputs for the time-series forecasting ...
1
vote
0answers
15 views

Prediction method when the time series is not sequential?

I have multivariate time series data consisting of monthly sales of contraceptives at various delivery sites in a certain country, between January 2016 and June 2019. The data looks as follows: The ...
0
votes
1answer
18 views

determining size of batch, time of sending and memory in to send from scala to ML section

I have a time series (sampling time: 66.66 micro second, number of samples/sampling time=151), I would like to determine some anomalies in them, the inputs are made by scala customer message bus. ...
1
vote
1answer
16 views

Loss drops to NaN after a short time for a time series classification

here is my model code for a binary classification of a time series: ...
0
votes
0answers
10 views

Selecting the best model parameters from grid search SARIMA [Time series]

I ran a manual gridsearch of SARIMA across several parameters and now I have 7875 rows of scores (RMSE, MAE, MAPE each) from it. These were the parameters (30k+ permutations) I ran a grid search over- ...
0
votes
0answers
20 views

Recurrent models for asynchronous / mixed frequency time series

What are some of the RNN/LSTM models for handling mixed frequency/asynchronous time series data, such as macroeconomics, financial, precipitation, etc.? So far I have found phased lstm from a similar ...
0
votes
0answers
17 views

How can I use a prediction model (e.g., ARMA model or LSTM) for multi-variate data?

I have had a dataset below: sensor1 sensor2 sensor3 ... 2021-01-01 1.32 2.2 1.0 2021-01-02 4.3 2.0 0.8 ... ... I know ...
0
votes
0answers
14 views

LSTM decoder with 2d's input

I am developing a CNN-LSTM autoencoder in pytorch to predict time sequences. The CNN input is a RGB image: RGB image => tensor[Batch size= 4, channel = 3,width= 256, height=256] and the output is ...
0
votes
0answers
62 views

Var_Imp Algorithms in Pred/Class Problems: Can I use it in TS Problems?

OBJECTIVE OF THIS POST: Solve a query about the possibility of use prediction/classification variable importance tools in a time series type dataframe. Collect the largest number of variable ...
0
votes
0answers
30 views

How to improve geom_line plot in R: linetype and x-axis detail to show each year [closed]

Context: I'm attemping to plot time series data in R with geom_line using the package ggplot using the code below. See png file for outcome: ...
0
votes
0answers
17 views

LSTM Timeseries Forecast with long-term, variable forecast horizon

In my graduation project, I use sensors to collect power usage data for home appliances with 5 minutes intervals, I want to create an ML model that takes in a variable number of values (len(dataset)) ...
0
votes
0answers
10 views

Prediction Intervals on (Multi-Step) Judgement Forecasts

Are there any R packages available or general methodologies for calculating prediction intervals on judgment-based forecasts? I've looked at Hyndman's text and the R forecast package - which will ...
0
votes
0answers
13 views

identifying time series with threshold breach potential

(moved from stackoverflow.com) Hi all, I'm trying to solve a following problem. I have a set of various devices feeding their readings into a system where they are stored as time series: timestamp, ...
0
votes
0answers
11 views

Forecast methodology for geographic variables that are somewhat related

I'm creating time series forecasts for different geographies and wanted an expert opinion on how I can take into account geographic relationship to improve my model. Is there an algorithm that's ...
0
votes
0answers
14 views

Multi-step time series prediction using multivariate input to get multivariate output

I am experienced in ML for tabular data but new to time series, so I am hoping to frame my question properly. I have this data series in this format: t a b c d e f 0 1 2 3 4 5 6 The columns ...
0
votes
0answers
22 views

Conditional variational autoencoder: Feeding labeled MNIST to encoder with Keras

I am looking for a code implementation of a CVAE using MNIST in Keras. I found this Youtube video: https://youtu.be/8wrLjnQ7EWQ that does VAE, but I am not sure how do I convert this and make encoder ...
0
votes
0answers
20 views

Can we add positional encoding to time series input for time series prediction?

I want to use classical machine learning models such XGBoost for my time series prediction. Since the input data for XGBoost/sklearn based models is 2d i.e. (n_samples, n_features), I want to encode ...
0
votes
0answers
24 views

Getting KeyError while executing forcast( ) in statsmodel's holtwinters function

I'm trying to get time series prediction using the following code. ...
-1
votes
0answers
17 views

How to use one hot encoding with time series data ( arima eg) [closed]

I have cumulative number of medical cases weekly for 60 weeks and categorical data on week wise events that occurred. I’m trying to analyse which event may increase or decrease the cumulative cases. <...
1
vote
5answers
197 views

What is the best way to train a model?

I am trying to train my model for sports predictions. The data frame is as a below given example: ...
0
votes
0answers
61 views

1D CNN time series classiifcation : ValueError: Shapes (10, 10, 8) and (10, 8) are incompatible

I'm working on a time series classification using ASHRAE RP-1043 chiller dataset which has 65 columns and more than 3000 rows for each chiller fault and normal condition. And I have used 1D CNN and ...
1
vote
1answer
37 views

modeling time series data with large number of variables

I want to model time series data of 52 dependent variable using neural networks in order to forecast these series in future . I have tried some architectures of LSTM and CNN (conv1D) models but my ...
1
vote
1answer
14 views

Time Series Target variable taken at much lower sample rate than input features

I have a regression problem that involves predicting a patient's blood pressure from a range of vital sign readings including PTT, PPG, and HR. Each of these input features has been taken at the same ...
0
votes
0answers
10 views

Implementing mean shift clustering in spatio-temporal domain?

We used meanshift clustering in the spatio-temporal domain (i.e., [x, y, t] with a kernel of size [32, 32, 200]). We treat clusters with at least 2 samples as fixations and use cluster center as the ...
1
vote
0answers
36 views

LSTM Many to one with multiple time steps for time series (multi class classification)

I want to do a time series multi-class classification for fault detection and diagnosis with time-series sensor data set which contains a sequence of 50 records of normal data and sequences of another ...
1
vote
1answer
25 views

Should I shuffle my `train_test_split` if my time series contains lagged features?

I understand that it is not recommended to shuffle your training and test sets for time series, else the model will not be able to understand the time dependency of the features. However, I am now ...
1
vote
0answers
22 views

Multiple Entities, Multivariate, Multi-step - Time Series Prediction - Python

My goal is to create a time series model with Multiple Entities - I have multiple products with pre orders and they all have the a similar bell shaped curve peeking at the release date of the product ...
1
vote
1answer
18 views

Choosing a Change Point Detection Algorithm

I am currently working on a dataset that belongs to the restaurant and food delivery domain. After completing sentiment analysis and quantification, I now need to select a Change Point Detection ...
0
votes
0answers
12 views

How can i improve my Bidirectional LSTM timeseries forecasting

I am trying to forecast a timeseries and I am using LSTM for it. But the forecast outside train data is pretty bad. I tried adding layers, changing epochs but couldn't improve. The forecast is ...
0
votes
1answer
28 views

Evaluation metric for imbalanced data

Hi I'm a CS graduate student I have a question for AI or data experts. I'm writing a paper My dataset is time-series sensor data and anomaly (positive class) ratio is between 5% and 6% you can see the ...
1
vote
3answers
41 views

How to use machine learning to find pattern of similar regions in signals

I have a long time series signal. This signal is usually very stable, but it will change when the sensor is stimulated, and this change is usually very short. I know this can be trained using the ...
2
votes
0answers
22 views

Cross correlation

I am trying to find a good algo (low latency) that is able to take two time series and determine which one is leading on the other one if any. The time series do not necessarily have the same ...
0
votes
1answer
14 views

How to compare error metrics for model with and without Seasonality?

I am aiming to guage the difference in my model performance from using data with and without Sesonality removal. My approach to Seasonality removal is taking the log of the column data and then ...
1
vote
0answers
23 views

Using STL(Seasonal-Trend decomposition using LOESS) for Anomaly detection

I am using STL to decompose my time series data in Season, trend and residual and then by applying this(see below) on residual. I am detecting the anomaly ...
1
vote
0answers
16 views

MY lstm has a really low accuracy, is there anyway to improve it?

I am trying to make a model to classify whether these patients can be diagnosed with dementia by their 35 days of biometric data. A brief summary of a dataset is below. as an input X_train data, it ...

1
2 3 4 5
29