可以尝试修改lab_utils_uni.py文件中第300、301、319行的代码,分别为
w_array = np.arange(-70000, 70000, 1000, dtype=np.int64)
cost = np.zeros_like(w_array, dtype=np.int64)
z=np.zeros_like(tmp_b, dtype=np.int64)
修改完成后记得重启jupyter
可以尝试修改lab_utils_uni.py文件中第300、301、319行的代码,分别为
w_array = np.arange(-70000, 70000, 1000, dtype=np.int64)
cost = np.zeros_like(w_array, dtype=np.int64)
z=np.zeros_like(tmp_b, dtype=np.int64)
修改完成后记得重启jupyter