need help developing an app to use a trained regression model

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

回答(1 个)

Drew
Drew 2023-9-29
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.

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by