上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 144 下一页

2018年9月19日

3-3 图片缩放2

摘要: #最近临域插值 双线性插值 原理 # src 10*20 dst 5*10 # dst src x 2 newX # newX = x*(src 行/目标 行) newX = 1* (10/5) = 2 # newY = y*(src 列/目标 列) newY = 2* (20/10) = 4 # 12.3 = 12 # 双线性插值 # A1 = 20% 上+80%下 A2 # B1 = ... 阅读全文

posted @ 2018-09-19 17:10 绿茵好莱坞 阅读(95) 评论(0) 推荐(0)

2018年9月18日

3-2 图片缩放1

摘要: 图片的缩放顾名思义就是改变图片的宽度和高度。 阅读全文

posted @ 2018-09-18 21:58 绿茵好莱坞 阅读(145) 评论(0) 推荐(0)

3-1 本章介绍

摘要: 阅读全文

posted @ 2018-09-18 21:01 绿茵好莱坞 阅读(96) 评论(0) 推荐(0)

2-22 小综合:人工神经网络逼近股票价格4

摘要: import tensorflow as tf import numpy as np import matplotlib.pyplot as plt date = np.linspace(1,15,15) endPrice = np.array([2511.90,2538.26,2510.68,2591.66,2732.98,2701.69,2701.29,2678.67,2726.50,268... 阅读全文

posted @ 2018-09-18 14:50 绿茵好莱坞 阅读(233) 评论(0) 推荐(0)

2018年9月17日

2-21 小综合:人工神经网络逼近股票价格3

摘要: import tensorflow as tf import numpy as np import matplotlib.pyplot as plt date = np.linspace(1,15,15) endPrice = np.array([2511.90,2538.26,2510.68,2591.66,2732.98,2701.69,2701.29,2678.67,2726.50,268... 阅读全文

posted @ 2018-09-17 23:41 绿茵好莱坞 阅读(237) 评论(0) 推荐(0)

2-20 小综合:人工神经网络逼近股票价格2

摘要: w1是一个1行10列的权重矩阵。w1的维度是一个1行10列的。b1也是一个1行10列的偏移矩阵。w2是一个10行1列的权重矩阵。b2是一个15行1列的偏移矩阵。 阅读全文

posted @ 2018-09-17 21:40 绿茵好莱坞 阅读(450) 评论(0) 推荐(0)

2-19 小综合:人工神经网络逼近股票价格1

摘要: import tensorflow as tf import numpy as np import matplotlib.pyplot as plt date = np.linspace(1,15,15) endPrice = np.array([2511.90,2538.26,2510.68,2591.66,2732.98,2701.69,2701.29,2678.67,2726.50,... 阅读全文

posted @ 2018-09-17 16:43 绿茵好莱坞 阅读(238) 评论(0) 推荐(0)

2018年9月14日

2-18 matplotlib模块的使用

摘要: import numpy as np import matplotlib.pyplot as plt x = np.array([1,2,3,4,5,6,7,8]) y = np.array([3,5,7,6,2,6,10,15]) plt.plot(x,y,'r') # 折线 1 x 2 y 3 color import numpy as np import matplo... 阅读全文

posted @ 2018-09-14 21:29 绿茵好莱坞 阅读(200) 评论(0) 推荐(0)

2-17 numpy模块使用

摘要: #CURD import numpy as np data1 = np.array([1,2,3,4,5]) print(data1) data2 = np.array([[1,2], [3,4]]) print(data2) #维度 print(data1.shape,data2.shape) # zero ones 空矩阵 单位矩阵 pri... 阅读全文

posted @ 2018-09-14 15:11 绿茵好莱坞 阅读(208) 评论(0) 推荐(0)

2-16 矩阵基础3

摘要: import tensorflow as tf mat0 = tf.constant([[0,0,0],[0,0,0]])#两行三列 mat1 = tf.zeros([2,3]) mat2 = tf.ones([3,2]) mat3 = tf.fill([2,3],15) with tf.Session() as sess: print(sess.run(mat0)) print... 阅读全文

posted @ 2018-09-14 12:15 绿茵好莱坞 阅读(201) 评论(0) 推荐(0)

上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 144 下一页

导航