TensorFlow与神经网络
LittleLuiLui
只是一只爱着代码的猿猿
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
TensorFlow与神经网络_学习记录1(get_variable函数 与 initialize_all_variables函数)
环境 Python_3.5.2 TensorFlow_1.2.1import tensorflow as tfg1 = tf.Graph()with g1.as_default(): v = tf.get_variable( "v", shape=[1], initializer=tf.zeros_initializer )g2 = tf.Graph原创 2018-01-27 10:34:04 · 142 阅读 · 0 评论 -
TensorFlow与神经网络_学习记录2(select函数)
环境 Python_3.5.2 TensorFlow_1.2.1import tensorflow as tfv1 = tf.constant([1.0, 2.0, 3.0, 4.0])v2 = tf.constant([4.0, 3.0, 2.0, 1.0])sess = tf.InteractiveSession()print(tf.greater(v1, v2).eval原创 2018-01-27 10:41:31 · 151 阅读 · 0 评论 -
深度学习与神经网络(一)区别期望风险与经验风险
期望风险:全局的风险,未知的,不可获得的 经验风险:局部的风险,克制的,可获得的经验风险可以通过训练集获得,期望风险是理想化的全局概念。 期望风险可以通过经验风险近似; 机器学习问题转化为最优化经验风险的问题。...原创 2018-09-14 09:21:34 · 210 阅读 · 0 评论
分享