need help developing an app to use a trained regression model

1 回表示 (過去 30 日間)
Joseph Bryan
Joseph Bryan 2023 年 9 月 21 日
回答済み: Drew 2023 年 9 月 29 日
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 Center および File ExchangeDevelop 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