8 Commits

Author SHA1 Message Date
b9822db5bf Changed thumbnail of nn1 2019-05-24 15:04:45 -07:00
543c22cc2f from utils.space_ops import get_norm
__get_norm()__ is called on lines 259 and 265 but it is never imported or defined.

[flake8](http://flake8.pycqa.org) testing of https://github.com/3b1b/manim on Python 3.7.0

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./old_projects/bell.py:222:38: E999 SyntaxError: invalid syntax
            for here, x in (here1, 0), (here2, 4)
                                     ^
./old_projects/borsuk.py:217:11: E999 SyntaxError: invalid syntax
         y=lambda m: m1.get
          ^
./old_projects/eoc/chapter6.py:399:35: E999 SyntaxError: invalid syntax
                for i, j in (1, 0), (0, 1)
                                  ^
./old_projects/nn/network.py:258:16: F821 undefined name 'get_norm'
        norm = get_norm(gradient)
               ^
./old_projects/nn/network.py:264:15: F821 undefined name 'get_norm'
        print(get_norm(old_pre_sig_guess - pre_sig_guess))
              ^
3     E999 SyntaxError: invalid syntax
2     F821 undefined name 'get_norm'
5
```
2018-09-24 07:43:45 +01:00
365093c0b5 np.linalg.norm -> get_norm 2018-08-15 17:30:24 -07:00
6ab8f7f7fc Random fixes to old_projects 2018-08-12 00:35:15 -07:00
858051a806 After running 2to3 2018-08-09 17:56:05 -07:00
f03268d007 Modernize Python 2 code to get ready for Python 3 yet again 2018-06-02 08:59:26 -04:00
a9c1498aff Resolve undefined names 2018-01-29 10:25:43 +01:00
330cc0cd95 Moved nn/ to old_projects 2018-01-16 13:15:14 -08:00