NN input creation for Document Classification MATLAB
古いコメントを表示
Greetings,
I've been doing my first big work in Matlab and now I have problem that I don't know how to solve :s
Goal is use NN to classify input document made of strings. After treat all data what I have are several binary (0/1) matrix that represent 70 news of each of 10 types that I have.
So basically I have 10 different types of news and for each I have 70 examples with size 316 resulting in matrix that I have now: 316x1*70 x 10 (22120x10). As targets I have matrix 10x10, since I have 10 different categories. How must be my input matrix for it to work? Since if I use one I wrote above It gives me memory problems
Regards
回答 (1 件)
Greg Heath
2013 年 1 月 7 日
0 投票
The input matrix has N examples of I-dimensional input vectors
[ I N ] = size(input)
The target matrix has the N corresponding examples of O-dimensional target vectors.
[ O N ] = size(target)
For classification, the target columns are columns of the O-dimensional unit matrix.
Hope this helps.
Thank you for formally accepting my answer.
Greg
カテゴリ
ヘルプ センター および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!