필터 지우기
필터 지우기

Best way to use Time Series Forecasting

조회 수: 3 (최근 30일)
MatLabMcLovinPotato
MatLabMcLovinPotato 2020년 4월 28일
댓글: Timothy Rijsdijk 2020년 7월 20일
Hey guys! I have two questions please (pictures and outline below)
BACKGROUND:
Using my own timeseries data.
HOPE via USE OF MATLAB EXAMPLE
I found and used the Chickpox example as it does what I require = Capture time series data and make a prediction in the future.
QUESTIONS given END GOAL
End Goal: Make a prediction for time period X for Data Points A, B, and C
Help required:
  1. Getting a prediction outside the known data set, and
  2. Managing more than one data point per 'month'
QUESTION / PROBLEM 1
Actual: Lesson helps to predict and train for data within the known data set
Goal: Predict after the known data set
Visually.... the tutorial delivers the following:
But what I'd like is this:
WONDERING...
I did play arund with this although not 100% sure I've grabbed the right data or trainin set.
>> How can I manipulate the code from within Chickpox example for training on the whole dataset, to predict values for X month(s) into the future and be sure I'm getting predictions. Am I using the right logic / network here?
For example: "From the total dataset, the predictions for the next six months are.... *insert Matlab Magic*"
QUESTION / PROBLEM 2
Say this data set wasn't just a number of total cases + months, but each month with counts for cases by Total Adult + Male under 18 + Female under 18 (3 readings per Month / Time indicator)
I've been able to get through this (in a way) with 2 data points, although its getting hinky with 3+. Ideally, I'll have several. 3 kinda works, but it's a mess.
Predictions goes into an array and can 'lose' the order of the respective value is came from.
I.e. the data set has
  • month XX
  • adults #'s
  • boys cases #
  • girl cases #
Array for results can be adult prediction boy prediction gir prediction but later one gets funky to being girl prediction boy prediction adult prediction
IS THIS:
  • Due to uneven number of readings in data set?
  • Do I just need to be mindful of the order of operation when declaring variables through the journey?
  • Something else... (see B)
B) Just stop what I'm doing because something else is better when attempting time series forecasting with mulitple values per time point (that all relate to each other)
  댓글 수: 1
Timothy Rijsdijk
Timothy Rijsdijk 2020년 7월 20일
That is my exact question. How do you use the data for future predictions?
Did you find the answer?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by