Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Kennedy
python-workshop
Wiki
Python Workshop 3 NumPy
Python Workshop 3 NumPy
· Changes
Page history
Typo corrections
authored
Feb 26, 2021
by
Thomas Kennedy
Show whitespace changes
Inline
Side-by-side
Python-Workshop-3-NumPy.md
View page @
c4488a90
...
...
@@ -363,8 +363,9 @@ def scale_row(A, row_idx, num_cols, s):
A[row_idx][j] = A[row_idx][j] / s
```
**Implementation**
*
**Implementation**
```
python
# Scale
scaling_factor
=
matrix_XTX
[
i
,
i
]
matrix_XTX
[
i
,
:]
/=
scaling_factor
...
...