Clear Filters
Clear Filters

unable load dataset into neural network toolbox

2 views (last 30 days)
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 Comments
Walter Roberson
Walter Roberson on 14 May 2017
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 on 14 May 2017
target must be 0/1 right ? reprsent it binary ?

Sign in to comment.

Answers (1)

MathReallyWorks
MathReallyWorks on 14 May 2017
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.

Categories

Find more on Multicore Processor Targets in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!