Edward Yang <[email protected]> added the comment:
"<stdin>" is a valid name of a file on Unix systems. So the fix is not so clear.
ezyang@javelin:~$ python
Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> a
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
Here’s an idea: when a (multi-variable) calculus course arrives at the
topic of the *chain rule*, it should use as a worked example the multilayer
perceptron—a topic you usually only find in an introductory artificial
intelligence course. In fact, it’s ideal, since the treatment of this topic in
most AI courses (at this point, I’ve taken two—a byproduct of slightly
mismatched class schedules when you study abroad) involves *no* extra
theoretical computer science content whatsoever. If you know the definition of
a multilayer perceptron, any Calculus student who knows the chain rule should
be able to work out the back-propagation algorithm—or perhaps I should call it
a *recurrence.*
NameError: name 'a' is not defined
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14531>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com