Is there a missing command in the Character Recognition example "Appcr1" within Chapter 11 of the Neural Network Toolbox manual?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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?
Respuesta aceptada
MathWorks Support Team
el 27 de Jun. de 2009
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Deep Learning Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!