上一页 1 ··· 166 167 168 169 170 171 172 173 174 ··· 274 下一页
摘要: 先看看线索二叉树 n个结点的二叉链表中含有n+1(2n-(n-1)=n+1)个空指针域。利用二叉链表中的空指针域,存放指向结点在某种遍历次序下的前驱和后继结点的指针(这种附加的指针称为"线索")。 对于n个结点的二叉树,在二叉链存储结构中有n+1个空链域,利用这些空链域存放在某种遍历次序下该结点的前 阅读全文
posted @ 2018-03-24 23:20 bonelee 阅读(355) 评论(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 阅读(736) 评论(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 阅读(18823) 评论(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 阅读(11762) 评论(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 阅读(344) 评论(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 阅读(894) 评论(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 阅读(1997) 评论(1) 推荐(0)
摘要: install_dir=/usr/local/anaconda3 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # script dir bash $DIR/Anaconda3-5.0.1-Linux-x86_64.sh -b -p $install_dir $install_dir/bin/conda install -... 阅读全文
posted @ 2018-03-22 15:00 bonelee 阅读(934) 评论(0) 推荐(0)
摘要: localhost:~ # easy_install uncompyle6-3.0.1-py3.6.eggProcessing uncompyle6-3.0.1-py3.6.eggCopying uncompyle6-3.0.1-py3.6.egg to /root/anaconda3/lib/py 阅读全文
posted @ 2018-03-22 09:55 bonelee 阅读(490) 评论(0) 推荐(0)
上一页 1 ··· 166 167 168 169 170 171 172 173 174 ··· 274 下一页