摘要:
1、transpose 交换 1、swapaxes交换
阅读全文
posted @ 2018-10-11 09:02
bug_x
阅读(196)
推荐(0)
编辑
摘要:
1、 两者的区别在于返回拷贝(copy)还是返回视图(view),numpy.flatten()返回一份拷贝,对拷贝所做的修改不会影响(reflects)原始矩阵,而numpy.ravel()返回的是视图(view,也颇有几分C/C++引用reference的意味),会影响(reflects)原始矩
阅读全文
posted @ 2018-10-09 23:38
bug_x
阅读(459)
推荐(0)
编辑
posted @ 2018-10-09 23:01
bug_x
阅读(622)
推荐(0)
编辑
摘要:
python 切片slice 1、补充: https://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/0013868196352269f28f1f00aee485ea27e3c4e47f12b
阅读全文
posted @ 2018-10-09 22:41
bug_x
阅读(282)
推荐(0)
编辑
摘要:
1、python读取文件 numpy 常用的是loadtxt(file_name) # 默认#后的都会忽略 pandas with
阅读全文
posted @ 2018-10-09 22:27
bug_x
阅读(120)
推荐(0)
编辑
posted @ 2018-10-09 09:26
bug_x
阅读(222)
推荐(0)
编辑
摘要:
本着创建第一个模型-->训练-->预测的“简单流程”
阅读全文
posted @ 2018-10-09 09:16
bug_x
阅读(96)
推荐(0)
编辑
摘要:
1、对网络的理解: 2、怎样训练,输入已经数据,经过训练,输入测试数据,得到相似数据 3、RNNs 循环神经网络
阅读全文
posted @ 2018-10-09 09:16
bug_x
阅读(68)
推荐(0)
编辑
摘要:
tensor链接: http://playground.tensorflow.org/#activation=tanh&batchSize=10&dataset=circle®Dataset=reg-plane&learningRate=1®ularizationRate=0&noise
阅读全文
posted @ 2018-10-09 09:14
bug_x
阅读(80)
推荐(0)
编辑
摘要:
1、 rand(2,4) #2*4 shape 矩阵 rand(d0, d1, …, dn) rand_sample() #随机生成矩阵 2、 prng = np.random.RandomState(123456789) # 定义局部种子prng.rand(2, 4) prng.chisquare
阅读全文
posted @ 2018-10-08 22:08
bug_x
阅读(176)
推荐(0)
编辑