Filter löschen
Filter löschen

Trouble importing Neural Net Predictors and Responses

13 Ansichten (letzte 30 Tage)
Lawrence
Lawrence am 27 Aug. 2023
Bearbeitet: Shreeya am 31 Aug. 2023
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!

Akzeptierte Antwort

Shreeya
Shreeya am 31 Aug. 2023
Bearbeitet: Shreeya am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by