Trouble importing Neural Net Predictors and Responses

10 ビュー (過去 30 日間)
Lawrence
Lawrence 2023 年 8 月 27 日
編集済み: Shreeya 2023 年 8 月 31 日
New to MATLAB, but have used other NN products. I'm trying to create a simple classification network with 13 inputs and 1 output. I've sucessfully imported the variables into the workspace:
I then go into the Neural Net Pattern Recognition App, and try to import data:
The App asks me to select the Predictor and Response variables:
So far, so good. This is the universal process found in all NN products: Define your set of training inputs, and outputs.
My issue is this:
The import can recognize my workspace variables as Predictors, but does not recognize any of the varibles as Responses.
Is there something special I need to do in the workspace to classify variables as either Predictors or Responses? All variables are simple numeric values - no text.
I can't proceed with designing/building the network until I can get past this step.
Help!

採用された回答

Shreeya
Shreeya 2023 年 8 月 31 日
編集済み: Shreeya 2023 年 8 月 31 日
Hi Lawrence
I understand that the Neural Network Pattern Recognition App does not recognize the response variable from the workspace. Since this is a classification problem, the response variable should be a vector of zeros and ones, only then it can be recognized as a response variable. The output variable value of one would mean that the input feature vector belongs to the class and zero means it does not.
Hope this helps.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by