Loading

上一页 1 2 3 4 5 6 7 ··· 16 下一页
摘要: from cmath import inf class Solution: def cost(self, s: str, low: int, high: int): ss = list(s[low: high]) re_ss = ss[::-1] cos = 0 for i in range(len 阅读全文
posted @ 2020-11-24 19:04 ArkiWang 阅读(83) 评论(0) 推荐(0) 编辑
摘要: ref: https://www.zybuluo.com/hanbingtao/note/476663 https://zybuluo.com/hanbingtao/note/541458 阅读全文
posted @ 2020-11-09 18:46 ArkiWang 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 保持栈的单调,只有栈为空或比栈顶大/小的元素才可入栈,否则出栈直到满足条件 In order to keep the stack monotonic, only when the stack is empty or the top element of the stack is smaller/bi 阅读全文
posted @ 2020-11-05 08:44 ArkiWang 阅读(58) 评论(0) 推荐(0) 编辑
摘要: Altough it sounds quiet like KNN algorithm, however, KNN is a kind of classification algorithm of supervised learning while K MEANS is a kind of unsup 阅读全文
posted @ 2020-10-27 09:28 ArkiWang 阅读(98) 评论(0) 推荐(0) 编辑
摘要: if you don't have right to wirte file or mkdir in /System/Library/Frameworks/JavaVM.framework/Libraries then, do as following: restart your mac, press 阅读全文
posted @ 2020-10-25 19:57 ArkiWang 阅读(95) 评论(0) 推荐(0) 编辑
摘要: if you meet error like this: java.io.IOException: META-INF : could not create directory at sun.tools.jar.Main.extractFile(Main.java:1050) at sun.tools 阅读全文
posted @ 2020-10-25 17:52 ArkiWang 阅读(358) 评论(0) 推荐(0) 编辑
摘要: Simply, in summary, error is related to the partial derivative (z) of cost function (C), so it can be write as the derivative of the composite funtion 阅读全文
posted @ 2020-10-20 12:13 ArkiWang 阅读(99) 评论(0) 推荐(0) 编辑
摘要: RRT is a random search algorithm, used to find a path from the start point to the target. it can be describe like:(pseudo code) while the termination 阅读全文
posted @ 2020-10-12 16:50 ArkiWang 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Python provides generator functions as a convenient shortcut to building iterators. # a generator that yields items instead of returning a list def fi 阅读全文
posted @ 2020-10-11 19:24 ArkiWang 阅读(84) 评论(0) 推荐(0) 编辑
摘要: use an algorithm to separate the letters from sentences. ( kind of classifier) the architecture of neural networks: input layer; hidden layer; output 阅读全文
posted @ 2020-10-08 11:34 ArkiWang 阅读(256) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 16 下一页