Pattern Recognition Training Model

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 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

質問済み:

2016 年 9 月 16 日

回答済み:

2016 年 9 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by