<< ann_ADALINE_online Neural_Network_Functions ann_ADALINE_run >>

NeuralNet >> Neural_Network_Functions > ann_ADALINE_predict

ann_ADALINE_predict

ANN ADALINE training function (incremental training with tapped delay)

Calling Sequence

[w,b] = ann_ADALINE_predict(P,T,alpha)
[w,b] = ann_ADALINE_predict(P,T,alpha,itermax,D,initfunc)

Parameters

X :

Training input

T :

Training target

alpha :

Learning Rate

itermaxs :

Maximum Training Iteration

D :

number of delays

initfunc :

Weight and Bias Initialize functions, either 'rand', 'zeros', or 'ones'

w :

weights for the network

b :

bias for the network

y :

Predicted output

ee :

Error between T and y

Description

Adaptive Linear Neuron with incremental (going throught data one by one) training algorithm and tapped delay

Examples

x = 0:0.02:20;
P = sin(x);
T = 2.*sin(x - 0.2);
plot(x,P,x,T);

// Create and train a network to preduct T from P
Delay = 3;
[w,b,y,ee] = ann_ADALINE_predict(P,T,0.2,1,Delay);
figure(); plot(T); plot(y,'r');

See also

Authors


Report an issue
<< ann_ADALINE_online Neural_Network_Functions ann_ADALINE_run >>