How to forecast future result using trained model

I have used the command below but the prediction does not show result beyond my trained data. The trained data is a result obtained from using the regression learner application.
yfit = trainedModel.predictFcn(starttoend)
Anything beyond the trained data gives a constant value. Is there a way to forecast future reading using the trained model?

1 Comment

You might receive a better response from the community if you could provide more info.
Mention details about the nature of your model, the type of input. Share any code and sample data that you have.

Sign in to comment.

Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 11 Jun 2021

Commented:

on 23 Jun 2021

Community Treasure Hunt

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

Start Hunting!