11 2020 档案

摘要:https://blog.csdn.net/strivequeen/article/details/110183863 nohup python -u test.py > test.log 2>&1 & nohup 不挂起的意思 python test.py python 运行test.py文件 - 阅读全文
posted @ 2020-11-28 22:00 douzujun 阅读(994) 评论(0) 推荐(0) 编辑
摘要:https://zhuanlan.zhihu.com/p/37452654 https://blog.csdn.net/weixinhum/article/details/85064685 交叉熵和相对熵 相对熵(KL散度) KL 散度:衡量每个近似分布与真实分布之间匹配程度的方法: \[ D_{K 阅读全文
posted @ 2020-11-26 22:27 douzujun 阅读(435) 评论(0) 推荐(0) 编辑
摘要:!pwd LOG_DIR = './logs/' get_ipython().system_raw( 'fitlog log {} --ip 0.0.0.0 --port 6006 &'.format(LOG_DIR) ) Use ngrok to tunnel traffic to localho 阅读全文
posted @ 2020-11-22 22:14 douzujun 阅读(211) 评论(0) 推荐(0) 编辑
摘要:https://github.com/HarisIqbal88/PlotNeuralNet import sys sys.path.append('../') from pycore.tikzeng import * from pycore.blocks import * arch = [ to_h 阅读全文
posted @ 2020-11-22 15:01 douzujun 阅读(527) 评论(0) 推荐(0) 编辑
摘要:https://github.com/reiinakano/scikit-plot 文档:https://scikit-plot.readthedocs.io/en/stable/metrics.html # The usual train-test split mumbo-jumbo from s 阅读全文
posted @ 2020-11-22 14:41 douzujun 阅读(314) 评论(0) 推荐(0) 编辑
摘要:#include<cmath> #include<cstdio> #include<vector> #include<queue> #include<cstring> #include<iomanip> #include<stdlib.h> #include<iostream> #include<a 阅读全文
posted @ 2020-11-14 19:29 douzujun 阅读(340) 评论(0) 推荐(0) 编辑
摘要:笔记 视频 集成学习--Bagging、Boosting、Stacking、Blending Bagging Stacking Boosting 例子,C1先训练,C2训练C1分错的(后面分类器训练前面分类器分错的),C3训练C1,C2不同的。 第一步:初始化训练数据的权重,w1=w2=...=wn 阅读全文
posted @ 2020-11-13 20:50 douzujun 阅读(256) 评论(0) 推荐(0) 编辑
摘要:import numpy as np >>> a = np.array([11, 22, 33, 4, 5, 6, 7, 8, 9]) >>> b = np.array([11,22,33]) >>> c = np.setdiff1d(a,b) >>> c array([4, 5, 6, 7, 8, 阅读全文
posted @ 2020-11-11 16:13 douzujun 阅读(2728) 评论(0) 推荐(0) 编辑
摘要:47分钟 同时既是Encoder,也是Decoder,也是Seq2Seq(Encoder+Decoder) https://zhuanlan.zhihu.com/p/114746463 阅读全文
posted @ 2020-11-09 16:13 douzujun 阅读(577) 评论(0) 推荐(0) 编辑
摘要:# # @lc app=leetcode.cn id=70 lang=python3 # # [70] 爬楼梯 # # @lc code=start class Solution: def climbStairs(self, n: int) -> int: if n == 1: return 1 i 阅读全文
posted @ 2020-11-06 12:30 douzujun 阅读(103) 评论(0) 推荐(0) 编辑
摘要:注意,Python初始化一个二维数组 不能用 [[0] * col] * row,这样每行创建的是 [0]*col的引用!!!!!! 使用 [[0] * col for _ in range(row)] 阅读全文
posted @ 2020-11-06 11:18 douzujun 阅读(520) 评论(0) 推荐(0) 编辑
摘要:64. 最小路径和 注意,Python初始化一个二维数组,不能用 [[0] * col] * row,这样每行创建的是 [0]*col的引用!!!!!! 使用 [[0] * col for _ in range(row)] # # @lc app=leetcode.cn id=64 lang=pyt 阅读全文
posted @ 2020-11-06 11:16 douzujun 阅读(83) 评论(0) 推荐(0) 编辑
摘要:Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Background\shell\wt] @="open Terminal in here" //这里是鼠标右键显示的名称 [HKEY_CLASSES_ROOT\Dir 阅读全文
posted @ 2020-11-01 15:14 douzujun 阅读(725) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示