unable load dataset into neural network toolbox

i am using matlab R2015A and connot load dataset input and target , I write dataset in .txt file zero`s one`s only how can solve it ?

5 commentaires

What does "cannot load" (with the corrected typo) mean?
Are you unsure where to begin?
If you have some code, post it and describe what happens when you run it:
  • Do you receive an error? If so what is the full text of the error message you receive? Post everything printed in the Command Window in red.
  • Do you receive a warning? If so, post the full warning message (everything in orange.)
  • Do you receive different results than you expect? If so, post the results you receive and describe what you expected to receive.
  • Does something else happen? If so, describe what happens in more detail.
humam mjd
humam mjd le 14 Mai 2017
humam mjd
humam mjd le 14 Mai 2017
when choose .mat file cannot load it and remain none in input and targer also
To use that tool, your data and your targets should already be stored in variables, not just in .mat files that you have not loaded yet.
humam mjd
humam mjd le 14 Mai 2017
target must be 0/1 right ? reprsent it binary ?

Connectez-vous pour commenter.

Réponses (1)

MathReallyWorks
MathReallyWorks le 14 Mai 2017

1 vote

Hello,
Try these steps to import data in neural network toolbox:
->Go to matlab Home and click on import data
->Select your .txt file which has 1's and 0's (I'll suggest to keep your data in .xls format)
->A window will appear. Click on import selection.
->A list will appear with variable name. Remember the name.
->Now, type nntool in matlab command window.
->A window will appear. Click on "import" on bottom left corner.
->A window will appear with 3 sections. Select your variable from 2nd section.
->In 3rd section, select anything that you want in "import as:". Then click import.
These steps are for nntool. If you are using nnstart then there is a different approach.

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by