need help developing an app to use a trained regression model
Show older comments
Hello, I've been trying to create an app to use a neural network that I have trained to predict the strength of concrete. I keep running into this error, can someone please help me. Thanks in advance.


Answers (1)
Drew
on 29 Sep 2023
0 votes
It looks like the input feature data (variable "t") is not being constructed correctly.
Was the neural network trained on a table? What were the VariableNames? If you want to set the VariablenNames (aka predictor names) for the input table, normally you would set t.Properties.VariableNames appropriately.
Here is an example that is working correctly:
If this answer helps you, please remember to accept the answer.
Categories
Find more on Deep Learning Toolbox 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!