Closed kjiang25 closed 4 hours ago
In the calculate_error_vs_m function for our hw, I am getting an error from the following line.
ax1.set_xscale('log', basex=2) TypeError: LogScale.init() got an unexpected keyword argument 'basex'.
The code works when I remove the input argument basex=2, but I am wondering if this is the correct implementation. Please let me know.
I changed all the basex=2 to base=2 and it seems like it is working now.
Works for me too, thanks!
In the calculate_error_vs_m function for our hw, I am getting an error from the following line.
ax1.set_xscale('log', basex=2) TypeError: LogScale.init() got an unexpected keyword argument 'basex'.
The code works when I remove the input argument basex=2, but I am wondering if this is the correct implementation. Please let me know.