Is there a missing command in the Character Recognition example "Appcr1" within Chapter 11 of the Neural Network Toolbox manual?

4 ビュー (過去 30 日間)
If I try to execute the code in the "Initialization" section of the "Appcr1" example in Chapter 11 of the Neural Network Toolbox, I receive the following error message:
??? Undefined function or variable 'alphabet'.
Is this the result of a missing function call in the example?

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
This enhancement has been incorporated in Release 2008b (R2008b). For previous product releases, read below for any possible workarounds:
This is an error in the documentation for the "Appcr1" example in Chapter 11 of the Neural Network Toolbox manual. The block of code in the "Initialization" section of the example should read:
[alphabet,targets] = prprob;
S1 = 10;
[R,Q] = size(alphabet);
[S2,Q] = size(targets);
P = alphabet;
net = newff(minmax(P),[S1 S2],{'logsig' 'logsig'},'traingdx');
This function call will define the alphabet and target variables used by the remainder of the example.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by