need help developing an app to use a trained regression model
1 view (last 30 days)
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.
0 Comments
Answers (1)
Drew
on 29 Sep 2023
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.
0 Comments
See Also
Categories
Find more on Develop Apps Using App Designer 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!