07 2018 档案

摘要:numpy中的tile函数: 遇到numpy.tile(A,(b,c))函数,重复复制A,按照行方向b次,列方向c次。 python中的sum函数.sum(axis=1) 当加入axis=1以后就是将一个矩阵的每一行向量相加 浅述python中argsort()函数的用法 1.先定义一个array数 阅读全文
posted @ 2018-07-30 21:28 dgi 阅读(174) 评论(0) 推荐(0)
摘要:python画的图表不能显示中文的时候,使用下面的代码可以解决这个问题: 画曲线的代码: 独热编码(One-Hot Encoding) http://blog.csdn.net/pipisorry/article/details/61193868 阅读全文
posted @ 2018-07-30 17:17 dgi 阅读(124) 评论(0) 推荐(0)
摘要:,前面的符号是数学上的映射 阅读全文
posted @ 2018-07-14 13:43 dgi 阅读(78) 评论(0) 推荐(0)
摘要:waiting P54 shuffle data 03_Lecture note_Linear and Logistic Regression 学习点1: python的地址输入是要不能用正斜杠\的,要用 / 来做地址分段。 比如: Birth rate - life expectancy code 阅读全文
posted @ 2018-07-11 14:33 dgi 阅读(126) 评论(0) 推荐(0)
摘要:CVPR2018_Crafting a Toolchain for Image Restoration by Deep Reinforcement Learning http://mmlab.ie.cuhk.edu.hk/projects/RL-Restore/ 强化学习的入门介绍:https:// 阅读全文
posted @ 2018-07-08 22:38 dgi 阅读(901) 评论(0) 推荐(0)
摘要:constants操作 正切 阅读全文
posted @ 2018-07-08 16:31 dgi 阅读(146) 评论(0) 推荐(0)
摘要:tf.assign(A, new_number): 这个函数的功能主要是把new_number的值向前传递给了A run( fetches, feed_dict=None, options=None, run_metadata=None) tf.Session.run() 执行 fetches 中的 阅读全文
posted @ 2018-07-06 16:50 dgi 阅读(131) 评论(0) 推荐(0)
摘要:1 import tensorflow as tf 2 import numpy 3 import matplotlib.pyplot as plt 4 #from sklearn.model_selection import train_test_split 5 rng = numpy.random 6 7 # Parameters 8 learning_rate... 阅读全文
posted @ 2018-07-05 22:46 dgi 阅读(229) 评论(0) 推荐(0)