Pattern Recognition Training Model

3 views (last 30 days)
gary_feesher
gary_feesher on 16 Sep 2016
Answered: Greg Heath on 17 Sep 2016
I am trying to train a pattern recognition model using a basic Adaline filter.
I have my input as: p1 = [1 -1 1 1 -1] p2 = [1 1 1 1 -1]
And the target of p1 is 1, and the target of p2 is -1.
Do I need to make t1 and t2 a vector also? Or can I simply set: t1 = 1; t2 = 1;
Thanks!

Answers (1)

Greg Heath
Greg Heath on 17 Sep 2016
In general, data for neural nets are N PAIRS of I-dimensional "I"nputs and O-dimensional "O"utput targets. the size of the matrices are
[ I N ] = size(input)
[ O N ] = size(target)
Thank you for formally accepting my answer
Greg

Categories

Find more on Deep Learning Toolbox 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!