| 1 | initial version |
The error lies in the first line of multilayer_perceptron:
for k in len(pc):
Indeed, len(pc) is an integer (the length of pc), so you cannot iterate on it. Maybe you mean
for k in pc:
instead?
| 2 | No.2 Revision |
The error lies in the first line of multilayer_perceptron:
for k in len(pc):
Indeed, len(pc) is an integer (the length of pc), so you cannot iterate on it. Maybe you mean
for k in pc:
instead?instead or perhaps
for k in range(len(pc)):
(depending on the nature of k and pc).
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.