上一页 1 ··· 165 166 167 168 169 170 171 172 173 ··· 273 下一页
摘要: Given two arrays, write a function to compute their intersection. Example: Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2]. Note: Each element 阅读全文
posted @ 2018-03-25 12:20 bonelee 阅读(158) 评论(0) 推荐(0)
摘要: Related to question Excel Sheet Column Title Given a column title as appear in an Excel sheet, return its corresponding column number. For example: 阅读全文
posted @ 2018-03-25 12:15 bonelee 阅读(144) 评论(0) 推荐(0)
摘要: 先看看线索二叉树 n个结点的二叉链表中含有n+1(2n-(n-1)=n+1)个空指针域。利用二叉链表中的空指针域,存放指向结点在某种遍历次序下的前驱和后继结点的指针(这种附加的指针称为"线索")。 对于n个结点的二叉树,在二叉链存储结构中有n+1个空链域,利用这些空链域存放在某种遍历次序下该结点的前 阅读全文
posted @ 2018-03-24 23:20 bonelee 阅读(352) 评论(0) 推荐(0)
摘要: Given a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed to the original key plus sum of all 阅读全文
posted @ 2018-03-24 22:06 bonelee 阅读(208) 评论(1) 推荐(0)
摘要: 以下是一段简单的闭包代码示例: 博客园 首页 新随笔 联系 订阅 管理 随笔-80 文章-0 评论-2 博客园 首页 新随笔 联系 订阅 管理 随笔-80 文章-0 评论-2 随笔-80 文章-0 评论-2 python中global 和 nonlocal 的作用域 python引用变量的顺序: 当 阅读全文
posted @ 2018-03-24 21:41 bonelee 阅读(735) 评论(0) 推荐(0)
摘要: RESCALING attribute data to values to scale the range in [0, 1] or [−1, 1] is useful for the optimization algorithms, such as gradient descent, that a 阅读全文
posted @ 2018-03-23 18:50 bonelee 阅读(18810) 评论(1) 推荐(5)
摘要: python利用决策树进行特征选择(注释部分为绘图功能),最后输出特征排序: 其中, 1.13. Feature selection The classes in the sklearn.feature_selection module can be used for feature selecti 阅读全文
posted @ 2018-03-23 18:49 bonelee 阅读(11759) 评论(0) 推荐(0)
摘要: 关于不均衡数据的处理方法 (1)Class Imbalance Problem (2)不平衡数据下的机器学习方法简介 (3)8大策略让你对抗机器学习数据集里的不均衡数据 (4)Quora上面的解答:https://www.quora.com/In-classification-how-do-you- 阅读全文
posted @ 2018-03-23 15:49 bonelee 阅读(340) 评论(0) 推荐(0)
摘要: 基于dns lib的,https://github.com/andreif/dnslib 有:https://www.cnblogs.com/anpengapple/p/5664500.html https://github.com/anpengapple/apple_dns https://git 阅读全文
posted @ 2018-03-23 11:43 bonelee 阅读(889) 评论(0) 推荐(0)
摘要: dns tunnel确认方法,查询子域名最终的解析地址: 使用方法:python dig_trace.py "<7cf1e56b 67fc90f8 caaae86e 0787e907>.nsconcreteblock.info" anySelected root name server: 192.2 阅读全文
posted @ 2018-03-22 18:04 bonelee 阅读(1994) 评论(1) 推荐(0)
上一页 1 ··· 165 166 167 168 169 170 171 172 173 ··· 273 下一页