Answered
Hi all am new to Matlab and want guide
If you have a choice, do not use GA to train NNs if you are not familiar with NNs. There are no good examples for reference. ...

11 years ago | 2

| accepted

Answered
Data Scaling in Neural Network
help mapstd doc mapstd help mapminmax doc mapminmax Hope this helps. *Thank you for formally accepting my answ...

11 years ago | 2

| accepted

Answered
Sum of coins using neural network
Inappropriate application of a NN. Check out NN example data using the line commands help nndatasets doc nndatasets Che...

11 years ago | 1

| accepted

Answered
Questions about time series prediction using nstool
Cannot help with nstool. However I have posted tens of command line examples in the NEWSGROUP and ANSWERS. Just add greg to your...

11 years ago | 1

| accepted

Answered
Neural network
No. NARX is for predicting future values. For current values use FITNET.

11 years ago | 1

Answered
Neural network toolbox - initialize the weights and biases with INITZERO:
clear all, clc [ X,T ] = maglev_dataset; net = narxnet; [ Xs Xi Ai Ts ] = preparets(net,X,{},T); ts ...

11 years ago | 1

| accepted

Answered
[NEURAL NETWORK] How can I make MSE be the same in different trying times ?
Initialize the state of the random number generator ONCE AND ONLY ONCE before the random data division and random weight initial...

11 years ago | 1

| accepted

Answered
[NEURAL NETWORK] How can I make MSE be the same in different trying times ?
Remove the underscores at the beginning and end. Use net.divideFcn = 'dividetrain' to automatically get the (1/0/0) data divi...

11 years ago | 0

Answered
how to train neural network using 3D matrix or some 2D matrix
I cannot understand your post. However, if you have N examples of I-dimensional input column vectors and the corresponding N exa...

11 years ago | 1

| accepted

Answered
How to have multiple targets in a neural network?
For N examples of O outputs corresponding to N examples of I inputs [I N ] = size(input) [O N ] = size(target) Howeve...

11 years ago | 0

| accepted

Answered
how to convert this to r2013 a code
1. This is MATLAB, a MATtrix LAnguage. Typically, loops are unnecessary. If theta, etc are row vectors, use P = [ theta; psi...

11 years ago | 1

| accepted

Answered
neural network for classification feature extraction
The best nonlinear features are usually found from some knowledge of the physical or mathematical nature of the problem. So, ...

11 years ago | 1

| accepted

Answered
[Neural Network]How to show the importance of "trainlm"?
I did not fully understand your post. However, if you want to display your weights use IW = net.IW{1,1} b = net.b{:} LW...

11 years ago | 1

| accepted

Answered
Neural network input -output problem
Try transposing your matrices Hope this helps Greg

11 years ago | 2

Answered
Neural network toolbox initialize the weights and biases (accepted answer: control random number generator)
Explicitly initialize the random number state before configuring or training. Most of my posted designs use one of the following...

11 years ago | 3

| accepted

Answered
How can I improve the performance prediction of a net in extrapolation
Use whatever info you have to fabricate additional data.

11 years ago | 1

| accepted

Answered
Neural Network Performance function for classification problem
It is always best to start with the examples in help patternnet doc patternnet Then I can respond to specific questio...

11 years ago | 2

| accepted

Answered
no. of samples while using 'train' for a neural network
I ran your code with the pollution_dataset. The same error occurred until I placed the code after the plot function continuat...

11 years ago | 1

| accepted

Answered
It is possible to create a dynamic model using radial basis function in the matlab tool box?
close all, clear all, clc, plt=0 [ X, T ] = simpleseries_dataset ; net = narxnet(0:...

11 years ago | 2

| accepted

Answered
Perfomance value of a neural network.
If MSE00 = mean(var(t',1))& Average target variance a useful training goal is NMSE = mse(t-y)/ mean(var(t',1)) <= 0...

11 years ago | 1

| accepted

Answered
differences between net = newff(P,T,S,TF,BTF,BLF,PF,IPF,OPF,DDF) and net = newff(PR,[S1 S2...SNl],{TF1 TF2...TFNl},BTF,BLF,PF) ?
I compared the two formats and obtained the exact same answer on version 2014a. 1. Did you run both nets using the same versi...

11 years ago | 1

| accepted

Answered
Help understand the sumsqr algorithm
help sumsqr doc sumsqr type sumsqr *Thank you for formally accepting my answer* Greg

11 years ago | 1

| accepted

Answered
It is possible to create a dynamic model using radial basis function in the matlab tool box?
Unfortunately, there are no options in the NNTBX that will yield this. Either modify MATLAB functions or find non-MATLAB code...

11 years ago | 1

Answered
how to add genetic optimization in Back propagation neural network tool box or even using commands of Matlab
Genetic optimization is the least preferred method for designing single hidden layer nets with given inputs and targets (the uni...

11 years ago | 1

| accepted

Answered
How to save workspace in a for loop?
Typically I design 100 nets at a time using a double loop: 10 values of hidden nodes: h = Hmin:dH:Hmax and 10 random initial wei...

11 years ago | 2

| accepted

Answered
Input selection for ANN
A very quick, non-optimal, but useful method is to use linear models with the help and doc commands on stepwisefit and sequentia...

11 years ago | 1

| accepted

Answered
Help in Neural network Coding?
You are correct: Use patternnet for classification/pattern-recognition. Sorry for the oversight. Number of classes c = 8 ...

11 years ago | 1

Answered
How to train a neural network?
Command Line: help patternnet doc patternnet NEWSGROUP and ANSWERS search: greg patternnet Hope this helps. ...

11 years ago | 0

| accepted

Answered
How use the closed loop to predict future values
Search the NEWSGROUP and ANSWERS using greg narxnet closeloop Hope this helps. *Thank you for formally accepting my an...

11 years ago | 0

| accepted

Answered
How to perform classification
Classification with neural networks is relatively straightforward. If you have c classes of I-dimensional objects, use N examp...

11 years ago | 1

| accepted

Load more