DL之RNN:基于TF利用RNN实现简单的序列数据类型(DIY序列数据集)的二分类(线性序列&随机序列)

DL之RNN:基于TF利用RNN实现简单的序列数据类型(DIY序列数据集)的二分类(线性序列&随机序列)


序列数据类型&输出结果

1、test01:training_iters = 1000000

(32, 20, 1)
[[0.336], [0.337], [0.338], [0.339], [0.34], [0.341], [0.342], [0.343], [0.344], [0.345], [0.0], [0.0], [0.0], [0.0], [0.0], [0.0], [0.0], [0.0], [0.0], [0.0]]
(32, 2)
[1.0, 0.0]
(32,)
10

2、test02:training_iters = 2000000

(32, 20, 1)
[[0.465], [0.466], [0.467], [0.468], [0.469], [0.47], [0.471], [0.472], [0.473], [0.474], [0.475], [0.476], [0.477], [0.478], [0.479], [0.48], [0.481], [0.482], [0.0], [0.0]]
(32, 2)
[1.0, 0.0]
(32,)
18

设计思路

(0)

相关推荐