Predict column of table when other columns have data

1 view (last 30 days)
Hey everyone,
Just wondering if there is a way to do this please?
I have a table with 4 columns, not including the sequnce step. The first 3 area conditoinal and always present, column 4 are results which are influenced by the first 3.
I can predict the whole table without issue, say:
for i = 2:numTimeStepsTest
[net,YPred(:,i)] = predictAndUpdateState(net,YPred(:,i-1),'ExecutionEnvironment','cpu');
end
However, I'm wondering what or how to predict where I have columns 1 to 3; need the 4th predicted. Would this be simliar to predicting the 'next step', as if using XTest are the previous step or would I be using a table with 3 columns, to predict an array that I could combine afterwards....?

Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!