- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 TensorFlow练习03-多层神经网络构造
import tensorflow as tfimport numpy as np###定义添加神经层函数add_layerdef add_layer(inputs, in_size, out_size, activation_function = None):#输入值,输入量,输出量,激活函数默认:无 Weights = tf.Variable(tf.random_normal([...
2018-05-25 22:54:01
527
原创 tensorflow练习03-placeholder
import tensorflow as tfinput1 = tf.placeholder(tf.float32, [1, 2]) #第一参数:保存类型一般默认float32,input2 = tf.placeholder(tf.float32, [2, 1]) #第二参数,保存矩阵结构output1 = tf.matmul(input1, input2)with tf.Se...
2018-05-25 21:09:48
171
原创 tensorflow练习02-矩阵与变量
import tensorflow as tf# matrix1 = tf.constant([[3, 3]])# matrix2 = tf.constant([[2], [2]])# product = tf.matmul(matrix1, matrix2) #操作:矩阵相乘## #method 1# with tf.Session() as sess:# result=...
2018-05-25 20:53:48
344
原创 tensorflow练习01-简单神经网络(单层)
import tensorflow as tfimport numpy as np#create datax_data = np.random.rand(100).astype(np.float32)y_data = x_data * 0.1+0.3# #create tensorflow structure start###Weights = tf.Variable(tf.rand...
2018-05-25 19:58:53
494
原创 Centos7环境搭建hadoop2.9.0集群全流程
1.安装环境配置1.1 虚拟机安装本案例是在虚拟机平台搭建hadoop,由于笔记本限制仅以2台设备构建内部局域网环境下的集群。虚拟机版本:VMwareWorkstation_10.04_Lite_CHS_V2系统:CentOS-7-x86_64安装2台虚拟机(本来准备装3台,但太卡了所以最后只保留了hserver1,hserver3)1.2 虚拟机设置固定IP虚
2018-01-11 13:59:17
3067
fastICA程序
2013-06-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人