上一页 1 ··· 3 4 5 6 7
摘要: 每次调用 tf.Variable() 都会产生一个新的变量,变量名称是一个可选参数,运行命名相同,如果命名冲突会根据命名先后对名字进行处理, tf.get_variable()的变量名称是必填参数,tf.get_variable()会根据这个参数去创建或者获取变量。遇到重命名的变量创建且变量名没有设 阅读全文
posted @ 2019-04-10 16:37 Pent° 阅读(456) 评论(0) 推荐(0) 编辑
摘要: list.extend() list1.extend(list2(or string)) 将list2(or string)的所有元素添加到list1中; list1.append(list2(or string)) 将list2(or string)作为一个元素添加到list1中; 注意:dtyp 阅读全文
posted @ 2019-03-27 21:42 Pent° 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 先验概率和后验概率的名字让人觉得是相反的,但是其实在理解中二者关系不大。 先验概率: 先验概率指根据观察到的现象或者根据经验,提出的某类事件发生的概率(表述可能不够准确)。 这种概率与在样本足够大时,这类事件发生的“真实概率”并不一定相等。例如,抛一枚均匀的硬币会哪面朝上,我们认知中的正反面朝上的概 阅读全文
posted @ 2019-03-24 17:34 Pent° 阅读(852) 评论(0) 推荐(0) 编辑
摘要: pip install XX + --no-cache-dir 安装出现time out error时: pip --default-timeout=10000 install XX 阅读全文
posted @ 2019-03-02 15:41 Pent° 阅读(282) 评论(0) 推荐(0) 编辑
摘要: jupyter notebook 出现 OSError: symbolic link privilege not held问题时 以管理员方式重新打开prompt。 阅读全文
posted @ 2019-02-25 20:45 Pent° 阅读(4611) 评论(0) 推荐(1) 编辑
摘要: 矩阵乘法:tf.matmul() np.dot() ,@ 逐元素乘法:tf.multiply() np.multiply() 阅读全文
posted @ 2019-01-23 11:07 Pent° 阅读(398) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7