Questions tagged [nntool]

27 questions
0
votes
1 answer

Is it necessary to initialized the weights for every time retraining the same model in matlab with nntool?

I know for the ANN model, the initial weights are random. If I train a model and repeat training 10 times by nntool, do the weights initialize every time when I click the training button, or still use the same initial weights you just adjusted?
Jeffrey
  • 41
  • 2
  • 8
0
votes
1 answer

Data Division in MATLAB Neural Network Train Command

While training a neural network in MATLAB I am using "train" command. Is this command auto divide the data into training, testing, and validation sets or we have to divide the data manually.
0
votes
1 answer

What value to put for the target vector in training neural network?

I am training a neural network to recognize image of a fruit(apple). I have taken 120 images of size 8x8 of which 40 are positive and remaining are negative. So my input is 64x120 and my target vector is 1x120. But what will be the values in my…
0
votes
1 answer

Unable to set number of neurons of output layer using nntool

Unable to edit the number of neurons of output layer, the field is disabled. When I set number of layers to be 2, even then the 2nd field is locked/disabled. Please help me identify what is the issue. Thanks in advance!
user4269495
0
votes
1 answer

Call a java function from matlab script

I'm trying to call a java function from a Matlab script, I tried all the solutions put in the website but I didn't get an issue. My class is simple: package testMatlabInterface; public class TestFunction { private double value; public…
Eadhun Di
  • 132
  • 1
  • 13
0
votes
1 answer

Why does the GUI of Matlab's nntraintool still show although net.trainParam.showWindow = 0?

I came across this issue when I tried to suppress the GUI called by train() following this answer: http://www.mathworks.com/matlabcentral/answers/81073-how-to-close-nntrain-tool So right after creating my net I disabled the GUI: net = narxnet(...) …
Franz Wurst
  • 319
  • 2
  • 15
0
votes
1 answer

How to get "mse" after "newfit" training from MATLAB command line

I have below code trainData = [11x293 matrix consist of double values]; trainTarget = [3x293 matrix consist of binary values]; testData = [11x32 matrix consist of double values]; trainTarget = [3x32 matrix consist of binary values]; net =…
Bilal
  • 33
  • 8
0
votes
2 answers

In Matlab, How to use already trained neural network on real time values?

Using nntool(Neural Network Manager) in Matlab, we have created a neural network named network1, the network type is Feed Forward backprop. Training function is TRAINLM, learning function is LEARNGDM, performance function is MSE. No. of layers are 2…
user3373861
  • 13
  • 1
  • 8
0
votes
1 answer

Why matlab neural network classification returns decimal values

I have an input dataset (matrix 25x1575) which is normalized to values between 0 and 1. I also have a binary formatted output matrix (9x1575) like 0 0 0 0 0 0 0 0 1, 1 0 0 1 1 1 0 0 1 ... I imported both files in matlab nntool and it automatically…
Myke
  • 281
  • 1
  • 2
  • 12
0
votes
2 answers

MATLAB NN toolbox: Error using trainlm

I have a 90×8 dataset that I feature-extracted (by summing 1's in every 10×10 cell) from 90 character images i.e. digits 1-9. Every row represents an image. I am trying to use following code to train a neural network and recognize new input…
Mehdi Haghgoo
  • 3,144
  • 7
  • 46
  • 91
0
votes
1 answer

MATLAB newlin function

This is simple example for intro to Neural Network toolbox. However, I cannot run it without error. Do you have any suggestions? Note: I have Neural Network toolbox and I can see inside the newlin function by edit! >> P1 = {0 -1 1 1 0 -1 1 0 0…
ozturkib
  • 1,493
  • 16
  • 28
0
votes
2 answers

Multi Step Prediction Neural Networks

I have been working with the matlab neural network toolkit. Here I am using the NARX network. I have a dataset consisting of prices of an object as well as the quantity of the object purchased over a period of time. Essential this network does one…
kushaldsouza
  • 710
  • 5
  • 12
  • 36
1
2