摘要: 参考链接:https://www.py.cn/tools/jupyter/16229.html 更改后 (我更改到E盘下) 方法: 打开Anoconda Prompt 进入到 tensorflow 中 输入命令:cd /d E:\JN jupyter notebook 即可。 阅读全文
posted @ 2020-04-08 15:13 cfancy 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 一维函数 f(x)=x2+1 代码示例 1 ''' 2 一维问题的梯度下降法实例 3 ''' 4 5 def func_1d(x): 6 """ 7 目标函数 8 :param x: 自变量,标量 9 :return: 因变量,标量 10 """ 11 return x ** 2 + 1 12 13 阅读全文
posted @ 2020-04-08 10:03 cfancy 阅读(303) 评论(0) 推荐(0) 编辑