Trouble importing Neural Net Predictors and Responses

28 views (last 30 days)
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!

Accepted Answer

Shreeya
Shreeya on 31 Aug 2023
Edited: Shreeya on 31 Aug 2023
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.

More Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!