Pattern Recognition Training Model

3 次查看(过去 30 天)
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!

回答(1 个)

Greg Heath
Greg Heath 2016-9-17
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

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by