Predict column of table when other columns have data

2 次查看(过去 30 天)
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....?

回答(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