会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ChevisZhang
博客园
首页
新随笔
联系
订阅
管理
2021年4月2日
如何将 xterm 中的内容粘贴到IDE
摘要: 复制: 鼠标选中就复制了 粘贴: 粘贴到xterm里面 shift+Insert; 粘贴到其他应用 shift + 鼠标滚轮; https://askubuntu.com/questions/237942/how-does-copy-paste-work-with-xterm
阅读全文
posted @ 2021-04-02 10:14 ChevisZhang
阅读(329)
评论(0)
推荐(0)
2021年3月15日
快速排序
摘要: 1 def partition(start,end,array): 2 pivot=array[start] 3 left,right=start+1,end 4 5 while True: 6 7 while left<=right and array[left]<=pivot: 8 left+=
阅读全文
posted @ 2021-03-15 09:23 ChevisZhang
阅读(54)
评论(0)
推荐(0)
2021年2月14日
滑动窗口最大值;栈的最小值;
摘要: https://leetcode-cn.com/problems/hua-dong-chuang-kou-de-zui-da-zhi-lcof/ https://leetcode-cn.com/problems/min-stack-lcci/ 1. 这两题都是要在O(1)时间内得到当前栈内的最小值
阅读全文
posted @ 2021-02-14 10:05 ChevisZhang
阅读(84)
评论(0)
推荐(0)
2021年1月12日
关于CRF的相关阅读
摘要: https://kexue.fm/archives/5542
阅读全文
posted @ 2021-01-12 19:04 ChevisZhang
阅读(36)
评论(0)
推荐(0)
2021年1月9日
embedding size与vocabulary size之间的关系: e = v**0.25
摘要: https://stackoverflow.com/questions/50747947/embedding-in-pytorch
阅读全文
posted @ 2021-01-09 15:49 ChevisZhang
阅读(443)
评论(0)
推荐(0)
2020年12月22日
pandas多个值取数
摘要: 返回时间取值在 ‘2019-02-01’ - ‘2019-02-28’ 之间的值 ; 需要使用两个条件; 方法: 1. 两个条件都需要用括号括起来,并用&连接 fourth_dict_2019[name] = data[(data.ds>=time[0])&(data.ds<=time[1]) ]
阅读全文
posted @ 2020-12-22 22:36 ChevisZhang
阅读(355)
评论(0)
推荐(0)
2020年12月21日
转 pandas pivot
摘要: https://blog.csdn.net/cetrol_chen/article/details/91129806
阅读全文
posted @ 2020-12-21 16:02 ChevisZhang
阅读(64)
评论(0)
推荐(0)
312. 戳气球
摘要: class Solution: def maxCoins(self, nums: List[int]) -> int: # DP 因为dp[left][right] = argmax(dp[left][i]+dp[i][right]+left*i*right) # 这个遍历顺序就是,先中间,后两边
阅读全文
posted @ 2020-12-21 15:13 ChevisZhang
阅读(129)
评论(0)
推荐(0)
140. 单词拆分 II
摘要: https://leetcode-cn.com/problems/word-break-ii/ class Solution: def wordBreak(self, s: str, wordDict: List[str]) -> List[str]: # 本题就是加上剪枝的回溯算法 # recor
阅读全文
posted @ 2020-12-21 10:04 ChevisZhang
阅读(88)
评论(0)
推荐(0)
2020年12月20日
时间序列规则法,及其pandas操作
摘要: https://blog.csdn.net/cetrol_chen/article/details/91129806 https://www.jianshu.com/p/31e20f00c26f?spm=5176.12282029.0.0.36241491UUhnZE
阅读全文
posted @ 2020-12-20 17:19 ChevisZhang
阅读(142)
评论(0)
推荐(0)
下一页
公告