Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W1d2 postfixes #531

Merged
merged 6 commits into from Dec 24, 2021
Merged

W1d2 postfixes #531

merged 6 commits into from Dec 24, 2021

Conversation

spirosChv
Copy link
Collaborator

Minor fixes in text for w1d2 tutorials and a minor fix for w1d1 tutorial.

@github-actions
Copy link

W1D1_Tutorial1 W1D2_Tutorial1 W1D2_Tutorial2 W1D2_Tutorial3
Instructor Open In Colab Open In Colab Open In Colab Open In Colab
Student Open In Colab Open In Colab Open In Colab Open In Colab
Code report for W1D1_Tutorial1

Code report for W1D1_Tutorial1.ipynb

Quality (pyflakes)

Total code issues: 92

Cell 1, Line 4: f-string is missing placeholders
Cell 6, Line 2: redefinition of unused 'widgets' from line 23
Cell 6, Line 13: f-string is missing placeholders
Cell 6, Line 15: undefined name 'display'
Cell 6, Line 20: f-string is missing placeholders
Cell 6, Line 22: undefined name 'display'
Cell 6, Line 31: undefined name 'display'
Cell 7, Line 13: f-string is missing placeholders
Cell 7, Line 15: undefined name 'display'
Cell 7, Line 20: f-string is missing placeholders
Cell 7, Line 22: undefined name 'display'
Cell 7, Line 31: undefined name 'display'
Cell 8, Line 13: f-string is missing placeholders
Cell 8, Line 15: undefined name 'display'
Cell 8, Line 20: f-string is missing placeholders
Cell 8, Line 22: undefined name 'display'
Cell 8, Line 31: undefined name 'display'
Cell 17, Line 2: redefinition of unused 'tensor_creation' from line 261
Cell 18, Line 13: f-string is missing placeholders
Cell 18, Line 15: undefined name 'display'
Cell 18, Line 20: f-string is missing placeholders
Cell 18, Line 22: undefined name 'display'
Cell 18, Line 31: undefined name 'display'
Cell 23, Line 2: redefinition of unused 'simple_operations' from line 384
Cell 25, Line 2: redefinition of unused 'dot_product' from line 424
Cell 26, Line 13: f-string is missing placeholders
Cell 26, Line 15: undefined name 'display'
Cell 26, Line 20: f-string is missing placeholders
Cell 26, Line 22: undefined name 'display'
Cell 26, Line 31: undefined name 'display'
Cell 37, Line 43: local variable 'my_tensor' is assigned to but never used
Cell 37, Line 45: local variable 'idx_tensor' is assigned to but never used
Cell 37, Line 79: local variable 'my_tensor1' is assigned to but never used
Cell 37, Line 80: local variable 'my_tensor2' is assigned to but never used
Cell 38, Line 2: redefinition of unused 'functionA' from line 563
Cell 38, Line 23: redefinition of unused 'functionB' from line 588
Cell 38, Line 45: redefinition of unused 'functionC' from line 614
Cell 39, Line 13: f-string is missing placeholders
Cell 39, Line 15: undefined name 'display'
Cell 39, Line 20: f-string is missing placeholders
Cell 39, Line 22: undefined name 'display'
Cell 39, Line 31: undefined name 'display'
Cell 48, Line 2: redefinition of unused 'simpleFun' from line 820
Cell 49, Line 13: f-string is missing placeholders
Cell 49, Line 15: undefined name 'display'
Cell 49, Line 20: f-string is missing placeholders
Cell 49, Line 22: undefined name 'display'
Cell 49, Line 31: undefined name 'display'
Cell 50, Line 2: redefinition of unused 'datasets' from line 19
Cell 50, Line 3: redefinition of unused 'ToTensor' from line 20
Cell 50, Line 4: redefinition of unused 'DataLoader' from line 21
Cell 55, Line 13: f-string is missing placeholders
Cell 55, Line 15: undefined name 'display'
Cell 55, Line 20: f-string is missing placeholders
Cell 55, Line 22: undefined name 'display'
Cell 55, Line 31: undefined name 'display'
Cell 57, Line 13: f-string is missing placeholders
Cell 57, Line 15: undefined name 'display'
Cell 57, Line 20: f-string is missing placeholders
Cell 57, Line 22: undefined name 'display'
Cell 57, Line 31: undefined name 'display'
Cell 61, Line 2: redefinition of unused 'my_data_load' from line 1038
Cell 62, Line 13: f-string is missing placeholders
Cell 62, Line 15: undefined name 'display'
Cell 62, Line 20: f-string is missing placeholders
Cell 62, Line 22: undefined name 'display'
Cell 62, Line 31: undefined name 'display'
Cell 66, Line 13: f-string is missing placeholders
Cell 66, Line 15: undefined name 'display'
Cell 66, Line 20: f-string is missing placeholders
Cell 66, Line 22: undefined name 'display'
Cell 66, Line 31: undefined name 'display'
Cell 71, Line 13: f-string is missing placeholders
Cell 71, Line 15: undefined name 'display'
Cell 71, Line 20: f-string is missing placeholders
Cell 71, Line 22: undefined name 'display'
Cell 71, Line 31: undefined name 'display'
Cell 75, Line 9: redefinition of unused 'Path' from line 1274
Cell 76, Line 13: f-string is missing placeholders
Cell 76, Line 20: f-string is missing placeholders
Cell 77, Line 13: f-string is missing placeholders
Cell 77, Line 20: f-string is missing placeholders
Cell 80, Line 13: f-string is missing placeholders
Cell 80, Line 20: f-string is missing placeholders
Cell 81, Line 13: f-string is missing placeholders
Cell 81, Line 20: f-string is missing placeholders
Cell 82, Line 13: f-string is missing placeholders
Cell 82, Line 20: f-string is missing placeholders
Cell 83, Line 13: f-string is missing placeholders
Cell 83, Line 20: f-string is missing placeholders
Cell 85, Line 3: 'requests' imported but unused
Cell 88, Line 11: 're' imported but unused

Style (pycodestyle)

Total PEP8 violations: 221

Common problems:

  • 45 instances of E402 (module level import not at top of file)
  • 31 instances of E266 (too many leading '#' for block comment)
  • 19 instances of E225 (missing whitespace around operator)
  • 18 instances of E301 (expected 1 blank line, found 0)
  • 14 instances of E302 (expected 2 blank lines, found 0)
  • 11 instances of E231 (missing whitespace after ',')
  • 8 instances of E305 (expected 2 blank lines after class or function definition, found 1)
  • 6 instances of E124 (closing bracket does not match visual indentation)
  • 5 instances of E501 (line too long (89 > 88 characters))
  • 5 instances of E501 (line too long (95 > 88 characters))

Code report for W1D2_Tutorial1

Code report for W1D2_Tutorial1.ipynb

Quality (pyflakes)

Total code issues: 44

Cell 1, Line 4: f-string is missing placeholders
Cell 6, Line 11: redefinition of unused 'torch' from line 12
Cell 9, Line 2: redefinition of unused 'widgets' from line 18
Cell 9, Line 13: f-string is missing placeholders
Cell 9, Line 15: undefined name 'display'
Cell 9, Line 20: f-string is missing placeholders
Cell 9, Line 22: undefined name 'display'
Cell 9, Line 31: undefined name 'display'
Cell 10, Line 13: f-string is missing placeholders
Cell 10, Line 15: undefined name 'display'
Cell 10, Line 20: f-string is missing placeholders
Cell 10, Line 22: undefined name 'display'
Cell 10, Line 31: undefined name 'display'
Cell 12, Line 2: redefinition of unused 'fun_z' from line 179
Cell 12, Line 16: redefinition of unused 'fun_dz' from line 193
Cell 13, Line 13: f-string is missing placeholders
Cell 13, Line 15: undefined name 'display'
Cell 13, Line 20: f-string is missing placeholders
Cell 13, Line 22: undefined name 'display'
Cell 13, Line 31: undefined name 'display'
Cell 14, Line 13: f-string is missing placeholders
Cell 14, Line 15: undefined name 'display'
Cell 14, Line 20: f-string is missing placeholders
Cell 14, Line 22: undefined name 'display'
Cell 14, Line 31: undefined name 'display'
Cell 15, Line 13: f-string is missing placeholders
Cell 15, Line 15: undefined name 'display'
Cell 15, Line 20: f-string is missing placeholders
Cell 15, Line 22: undefined name 'display'
Cell 15, Line 31: undefined name 'display'
Cell 17, Line 2: redefinition of unused 'SimpleGraph' from line 346
Cell 17, Line 29: redefinition of unused 'sq_loss' from line 379
Cell 21, Line 13: f-string is missing placeholders
Cell 21, Line 15: undefined name 'display'
Cell 21, Line 20: f-string is missing placeholders
Cell 21, Line 22: undefined name 'display'
Cell 21, Line 31: undefined name 'display'
Cell 27, Line 25: local variable 'predictions' is assigned to but never used
Cell 28, Line 2: redefinition of unused 'train' from line 578
Cell 29, Line 13: f-string is missing placeholders
Cell 29, Line 15: undefined name 'display'
Cell 29, Line 20: f-string is missing placeholders
Cell 29, Line 22: undefined name 'display'
Cell 29, Line 31: undefined name 'display'

Style (pycodestyle)

Total PEP8 violations: 86

Common problems:

  • 18 instances of E402 (module level import not at top of file)
  • 13 instances of E266 (too many leading '#' for block comment)
  • 11 instances of E265 (block comment should start with '# ')
  • 7 instances of E301 (expected 1 blank line, found 0)
  • 7 instances of E225 (missing whitespace around operator)
  • 6 instances of E302 (expected 2 blank lines, found 0)
  • 5 instances of E305 (expected 2 blank lines after class or function definition, found 1)
  • 4 instances of E302 (expected 2 blank lines, found 1)
  • 2 instances of E231 (missing whitespace after ',')
  • 2 instances of E305 (expected 2 blank lines after class or function definition, found 0)

Code report for W1D2_Tutorial2

Code report for W1D2_Tutorial2.ipynb

Quality (pyflakes)

Total code issues: 66

Cell 1, Line 4: f-string is missing placeholders
Cell 5, Line 30: local variable 'y_pos' is assigned to but never used
Cell 10, Line 13: f-string is missing placeholders
Cell 10, Line 15: undefined name 'display'
Cell 10, Line 20: f-string is missing placeholders
Cell 10, Line 22: undefined name 'display'
Cell 10, Line 31: undefined name 'display'
Cell 12, Line 2: redefinition of unused 'ShallowNarrowExercise' from line 534
Cell 12, Line 75: redefinition of unused 'loss' from line 623
Cell 13, Line 13: f-string is missing placeholders
Cell 13, Line 15: undefined name 'display'
Cell 13, Line 20: f-string is missing placeholders
Cell 13, Line 22: undefined name 'display'
Cell 13, Line 31: undefined name 'display'
Cell 16, Line 14: undefined name 'display'
Cell 17, Line 13: f-string is missing placeholders
Cell 17, Line 15: undefined name 'display'
Cell 17, Line 20: f-string is missing placeholders
Cell 17, Line 22: undefined name 'display'
Cell 17, Line 31: undefined name 'display'
Cell 18, Line 13: f-string is missing placeholders
Cell 18, Line 15: undefined name 'display'
Cell 18, Line 20: f-string is missing placeholders
Cell 18, Line 22: undefined name 'display'
Cell 18, Line 31: undefined name 'display'
Cell 20, Line 13: f-string is missing placeholders
Cell 20, Line 15: undefined name 'display'
Cell 20, Line 20: f-string is missing placeholders
Cell 20, Line 22: undefined name 'display'
Cell 20, Line 31: undefined name 'display'
Cell 21, Line 13: f-string is missing placeholders
Cell 21, Line 15: undefined name 'display'
Cell 21, Line 20: f-string is missing placeholders
Cell 21, Line 22: undefined name 'display'
Cell 21, Line 31: undefined name 'display'
Cell 23, Line 13: f-string is missing placeholders
Cell 23, Line 15: undefined name 'display'
Cell 23, Line 20: f-string is missing placeholders
Cell 23, Line 22: undefined name 'display'
Cell 23, Line 31: undefined name 'display'
Cell 24, Line 13: f-string is missing placeholders
Cell 24, Line 15: undefined name 'display'
Cell 24, Line 20: f-string is missing placeholders
Cell 24, Line 22: undefined name 'display'
Cell 24, Line 31: undefined name 'display'
Cell 25, Line 18: undefined name 'display'
Cell 26, Line 13: f-string is missing placeholders
Cell 26, Line 15: undefined name 'display'
Cell 26, Line 20: f-string is missing placeholders
Cell 26, Line 22: undefined name 'display'
Cell 26, Line 31: undefined name 'display'
Cell 27, Line 13: f-string is missing placeholders
Cell 27, Line 15: undefined name 'display'
Cell 27, Line 20: f-string is missing placeholders
Cell 27, Line 22: undefined name 'display'
Cell 27, Line 31: undefined name 'display'
Cell 29, Line 13: f-string is missing placeholders
Cell 29, Line 15: undefined name 'display'
Cell 29, Line 20: f-string is missing placeholders
Cell 29, Line 22: undefined name 'display'
Cell 29, Line 31: undefined name 'display'
Cell 30, Line 13: f-string is missing placeholders
Cell 30, Line 15: undefined name 'display'
Cell 30, Line 20: f-string is missing placeholders
Cell 30, Line 22: undefined name 'display'
Cell 30, Line 31: undefined name 'display'

Style (pycodestyle)

Total PEP8 violations: 135

Common problems:

  • 24 instances of E402 (module level import not at top of file)
  • 17 instances of E265 (block comment should start with '# ')
  • 15 instances of E225 (missing whitespace around operator)
  • 12 instances of E301 (expected 1 blank line, found 0)
  • 10 instances of E251 (unexpected spaces around keyword / parameter equals)
  • 7 instances of E266 (too many leading '#' for block comment)
  • 6 instances of E303 (too many blank lines (2))
  • 5 instances of E127 (continuation line over-indented for visual indent)
  • 5 instances of E226 (missing whitespace around arithmetic operator)
  • 5 instances of E128 (continuation line under-indented for visual indent)

Code report for W1D2_Tutorial3

Code report for W1D2_Tutorial3.ipynb

Quality (pyflakes)

Total code issues: 63

Cell 1, Line 4: f-string is missing placeholders
Cell 5, Line 4: local variable 'fig' is assigned to but never used
Cell 5, Line 20: local variable 'fig' is assigned to but never used
Cell 5, Line 66: local variable 'fig' is assigned to but never used
Cell 5, Line 179: local variable 'fig' is assigned to but never used
Cell 7, Line 11: redefinition of unused 'torch' from line 11
Cell 13, Line 2: redefinition of unused 'ex_initializer_' from line 541
Cell 14, Line 13: f-string is missing placeholders
Cell 14, Line 15: undefined name 'display'
Cell 14, Line 20: f-string is missing placeholders
Cell 14, Line 22: undefined name 'display'
Cell 14, Line 31: undefined name 'display'
Cell 18, Line 13: f-string is missing placeholders
Cell 18, Line 15: undefined name 'display'
Cell 18, Line 20: f-string is missing placeholders
Cell 18, Line 22: undefined name 'display'
Cell 18, Line 31: undefined name 'display'
Cell 19, Line 20: local variable 'W_tot' is assigned to but never used
Cell 20, Line 2: redefinition of unused 'ex_net_svd' from line 726
Cell 22, Line 13: f-string is missing placeholders
Cell 22, Line 15: undefined name 'display'
Cell 22, Line 20: f-string is missing placeholders
Cell 22, Line 22: undefined name 'display'
Cell 22, Line 31: undefined name 'display'
Cell 23, Line 13: f-string is missing placeholders
Cell 23, Line 15: undefined name 'display'
Cell 23, Line 20: f-string is missing placeholders
Cell 23, Line 22: undefined name 'display'
Cell 23, Line 31: undefined name 'display'
Cell 25, Line 2: redefinition of unused 'ex_net_rsm' from line 862
Cell 26, Line 52: undefined name 'display'
Cell 27, Line 13: f-string is missing placeholders
Cell 27, Line 15: undefined name 'display'
Cell 27, Line 20: f-string is missing placeholders
Cell 27, Line 22: undefined name 'display'
Cell 27, Line 30: undefined name 'display'
Cell 28, Line 13: f-string is missing placeholders
Cell 28, Line 15: undefined name 'display'
Cell 28, Line 20: f-string is missing placeholders
Cell 28, Line 22: undefined name 'display'
Cell 28, Line 31: undefined name 'display'
Cell 33, Line 13: f-string is missing placeholders
Cell 33, Line 15: undefined name 'display'
Cell 33, Line 20: f-string is missing placeholders
Cell 33, Line 22: undefined name 'display'
Cell 33, Line 31: undefined name 'display'
Cell 34, Line 13: f-string is missing placeholders
Cell 34, Line 15: undefined name 'display'
Cell 34, Line 20: f-string is missing placeholders
Cell 34, Line 22: undefined name 'display'
Cell 34, Line 31: undefined name 'display'
Cell 36, Line 13: f-string is missing placeholders
Cell 36, Line 15: undefined name 'display'
Cell 36, Line 20: f-string is missing placeholders
Cell 36, Line 22: undefined name 'display'
Cell 36, Line 28: undefined name 'display'
Cell 37, Line 1: redefinition of unused 'linear_regression' from line 310
Cell 38, Line 2: redefinition of unused 'linear_regression' from line 1216
Cell 45, Line 13: f-string is missing placeholders
Cell 45, Line 15: undefined name 'display'
Cell 45, Line 20: f-string is missing placeholders
Cell 45, Line 22: undefined name 'display'
Cell 45, Line 28: undefined name 'display'

Style (pycodestyle)

Total PEP8 violations: 153

Common problems:

  • 27 instances of E402 (module level import not at top of file)
  • 14 instances of E265 (block comment should start with '# ')
  • 12 instances of E251 (unexpected spaces around keyword / parameter equals)
  • 12 instances of E266 (too many leading '#' for block comment)
  • 11 instances of E226 (missing whitespace around arithmetic operator)
  • 10 instances of E302 (expected 2 blank lines, found 1)
  • 10 instances of E128 (continuation line under-indented for visual indent)
  • 10 instances of E301 (expected 1 blank line, found 0)
  • 10 instances of E225 (missing whitespace around operator)
  • 8 instances of E305 (expected 2 blank lines after class or function definition, found 1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants