numpy/numpy-tutorials

Documentation error: Typo in variable classification causes confusion

Closed this issue · 0 comments

Line 186; Transform the independent variable to log-scale...
should be corrected to
Transform the dependent variable to log-scale...

The variable in discussion is transistor_count, to be plotted on y_axis in context of moore's law.
This variable is later used in formula when transforming to log scale in line 189....
$y_i = \log($ transistor_count[i] $),$

The current wording may cause confusion, as it incorrectly suggests applying the log transformation to the independent variable i.e year