Answered
Neural Networks are universal approximators, It is true for picewise continuous functions?
Yes. However, like fourier series, values at finite discontinuities will be the average of the left and right values. If you ...

13 years ago | 1

| accepted

Answered
Hidden Layer Activations in NN Toolbox
You can create a 2nd net with no hidden layer. Next, make the output layer of the second net to be the same as the hidden layer ...

13 years ago | 0

| accepted

Answered
Future value prediction with neural network method and right input and target format data
This is an example of using a double loop to choose as small a number of hidden nodes as possible to mitigate overtraining an ov...

13 years ago | 1

Answered
How to get Gradient from Network Created by Neural Network Toolbox?
[x,t] = simplefit_dataset; net = fitnet; % No need for feedforwardnet rng(0) % Conve...

13 years ago | 1

Answered
about the hidden and output layers
Very incorrect. purelin(x) = x tansig(y) = tanh(y) Therefore output = purelin( b2 + W2*tansig( b1 + W1*input )); ...

13 years ago | 0

| accepted

Answered
Future value prediction with neural network method and right input and target format data
%Where and how I should to replace dividerand with divideblock. net = narnet % No semicolon See the entry for net.divid...

13 years ago | 0

Answered
Patternnet for multi-dimensional classification problem
%Thank you for the help. It seems to work but I'm now stuck up with some other issue. Here is a simple network that I trained us...

13 years ago | 1

Answered
newff Create a feed-forward backpropagation network. - Obsoleted in R2010b NNET 7.0.
There are two obsolete versions of newff. Using defaults for an I-H-O MLP, net1 = newff(minmax(p),[ H O ]); %very obsolete ...

13 years ago | 0

| accepted

Answered
How to avoid declaration of neural network in an m file again and again?
rng(0) % help rng %doc rng *Thank you for formally acceptingmy answer* Greg

13 years ago | 0

| accepted

Answered
train a neural network in matlab
Use patternnet Ns = 110, Nn = 95, N=Ns+Nn = 205 (NOT 220), I = 20, O = 2 [ I N ] = size(input) [ O N ] = size(targ...

13 years ago | 0

| accepted

Answered
Patternnet for multi-dimensional classification problem
Use a 162 x N target matrix with two ones in every column. If patternnet does not allow that, use feedforwardnet with 'trains...

13 years ago | 0

| accepted

Answered
Predictions using NARX Network
1. Design multiple open-loop (OL) nets in a double loop over the number of hidden nodes (outer loop) and random weight initializ...

13 years ago | 0

Answered
Future value prediction with neural network method and right input and target format data
Your comments are not clear. You have data for N = 212 consecutive days of the same year? You want to calculate the O=6 au...

13 years ago | 0

Answered
Future value prediction with neural network method and right input and target format data
Your inputs are outputs. Therefore you should be using NAR, not NARX. How many days, weeks, months or years of data do you ha...

13 years ago | 0

| accepted

Answered
normalization for neural network
All of the current NN designs use mapminmax by default. However, for purposes of understanding, I use zscore (you can use mapstd...

13 years ago | 0

| accepted

Answered
Bad results in modeling systems, with more than 1 Input, using neural network!
Violations of basic assumptions: 1. All input data are assumed to have been drawn from the same source. Violated by xt = ...

13 years ago | 0

| accepted

Answered
Equation and neural networks
HiddenVariableMatrix = tanh( InputWeightMatrix*InputVariableMatrix + Biasvector1); OutputVariableMatrix = Biasvector2 + Lay...

13 years ago | 0

| accepted

Answered
What is Mu and Performance Gradient ?
help trainlm doc trainlm Look up trainlm and Levenberg-Marquardt in the website documentation Look up Levenberg-Marquar...

13 years ago | 0

| accepted

Answered
how neural network outputs are kept constant for each time running the program
Random weight initialization and trn/val/tst data division are defaults. If you wish to duplicate a design you have to reset ...

13 years ago | 0

| accepted

Answered
How to write the code for such 4X12 Image
If you search using greg patternnet I'm sure you can find useful examples. Hope this helps Greg

13 years ago | 0

| accepted

Answered
why will multiple time training generate different result as I initialize network manually?
Although you avoided random weight initialization by assigning initial weights, you did not avoid the random data division. ...

13 years ago | 0

| accepted

Answered
How can i train a neural network using matlab taking input from an external text file?
help load doc load Hope this helps. Greg

13 years ago | 0

| accepted

Answered
the command "clc" and "clear all" does not work on a script in the editor.
HEY! Why are you using the answer box for your questions and comments? Just so you can accept your own question as the co...

13 years ago | 0

Answered
[NARX] How can I interpret the input weight with delay
To be consistent with matrix multiplication, it has to be (0.0447 and -0.2860) h(t) = b1 + IW*[ x(:,t-1) ; x(:,t-2)]; % t...

13 years ago | 0

| accepted

Answered
what Neural Network should i use?
Individual inputs are 3 x 1 vectors, not 1 x 3 matrices. If you use patternnet and/or plotconfusion use [1 0 ]' and [ 0 1 ]' ...

13 years ago | 0

| accepted

Answered
Predictions using NARX Network
You do not explain how you obtained your correlation functions. Before you design a NARX, obtain the target-target autocorrel...

13 years ago | 1

| accepted

Answered
How to implement NN in reducing the PSD of the signal without changing the information in the signal
To answer your question: No. Neural networks are typically used for pattern-recognition/classification or curve-fitting...

13 years ago | 0

Answered
asking about the matlab code for training Pattern Recognition for bank note using Back propagation
Single inputs to the net must be vectors of the same size. Therefore columnize your images using the (:) operator. Your input an...

13 years ago | 1

| accepted

Answered
How to set target vector for training of neural network?
The input matrices for N I-dimensional inputs and the corresponding O-dimensional targets must have the dimensions [ I N ] = ...

13 years ago | 0

Answered
Nonlinear regression with neural network
TRAINBR does not use a validation set. Therefore I am not quite sure what you are doing. Are you using TRAINBR's default 15% ...

13 years ago | 1

| accepted

Load more