摘要:
chown –Rh cheat:cheat /home/cheat/task/Cheat 阅读全文
摘要:
1.安装docker-windows https://blog.csdn.net/Jwast/article/details/79115268 2.安装docker-machine https://docs.docker.com/machine/install-machine/#install-ba 阅读全文
摘要:
定义summary 1.scalar存储结果 a.先在训练的循环外定义: b.在session run的时候run test_scalar,获得值,然后再添加。 2.histogram存储权重,偏执。 a.先在训练的循环外定义: b.在session run的时候run test_scalar,获得 阅读全文
摘要:
1.Attention-based seq2seq e(t,i):求上一时刻的输出和这一时刻编码器的输出的相似度 a(t,i):求这个词在整个文本中占多大的比重,每个时刻都存在着一个值,这个只是求一个softmax c(t):文本向量,求和,n代表序列长度,每个词都有一个softmax值,用每一个概 阅读全文
摘要:
1.读取excel: 2.写入excel 3.根据某一列的值进行筛选 4.将list添加到data_frame最后一列 5.data_frame采样 阅读全文
摘要:
groupadd cheat useradd -g cheat cheat passwd cheat 密码设置jsb_6041 阅读全文
摘要:
安装python3 大多数云平台没有安装zlib和openssl的devel包,需要提前安装 下载python源码 cd /home/cheat wget https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tar.gz tar xzvf Pyt 阅读全文
摘要:
db_url = 'http://47.93.89.99:8765' from traceback import format_exc import phoenixdb as pb class Utils(object): def get_db_conn(self, url): """ this function is able to get data... 阅读全文
摘要:
1.windows安装Graphviz2.38 安装地址:https://graphviz.gitlab.io/_pages/Download/Download_windows.html 2.在python文件头添加这两行代码 3.实例代码 阅读全文
摘要:
XGBoost 参数 在运行XGBoost程序之前,必须设置三种类型的参数:通用类型参数(general parameters)、booster参数和学习任务参数(task parameters)。 一般类型参数general parameters –参数决定在提升的过程中用哪种booster,常见 阅读全文