摘要:
AVL 比红黑树 更平衡 查多:AVL 增删多:红黑树 https://www.cs.usfca.edu/~galles/visualization/AlgorithmLibrary/RedBlack.js 红黑树的叶子节点: sentinel nodes 哨兵节点平衡二叉搜索树的高度 保证了搜索的
阅读全文
posted @ 2017-06-28 22:14
papering
阅读(373)
推荐(0)
摘要:
AVL 依次插入1、2、3, 插入3,1不平衡了,对节点1左旋后平衡。 graph 1((1))-->2L((NIL)) 1((1))-->2((2)) graph 2((2))-->1((1)) 2((2))-->3((3)) 逆序,依次插入, 插入1,3不平衡了,对节点3右旋后平衡。 依次插入9
阅读全文
posted @ 2017-06-28 17:13
papering
阅读(436)
推荐(0)
摘要:
1、二叉搜索树:去一个陌生的城市问路到目的地; for each node, all elements in its left subtree are less-or-equal to the node (<=), and all the elements in its right subtree
阅读全文
posted @ 2017-06-27 16:54
papering
阅读(208)
推荐(0)
摘要:
Autoregressive Integrated Moving Average Model,简记ARIMA 搜索 复制
阅读全文
posted @ 2017-06-27 07:55
papering
阅读(203)
推荐(0)
摘要:
w x <- c(52, 30, 10, 8)labels <- c("分析思考", "写代码、调试", "沟通", "其他")png(file = "D:\\Documents\\r_action\\TimeInOfficePresent.png")pie(x,labels)dev.off()
阅读全文
posted @ 2017-06-26 10:46
papering
阅读(202)
推荐(0)
摘要:
https://zh.wikipedia.org/zh-cn/ODBC ODBC(Open Database Connectivity,开放数据库互连)提供了一种标准的API(应用程序编程接口)方法来访问数据库管理系统(DBMS)。这些API利用SQL来完成其大部分任务。ODBC本身也提供了对SQL
阅读全文
posted @ 2017-06-24 11:48
papering
阅读(795)
推荐(0)
posted @ 2017-06-24 11:28
papering
阅读(188)
推荐(0)
摘要:
w 缺少方法论 数据模型管理工具:不是DDL、excel、word 表有时间戳字段:便于今后ETL-抽取 逻辑建模使用CASE工具:如PowerDesign 逻辑模型应与之上(前)的概念模型一致 使用CASE工具由逻辑模型生成物理建模应用术语表自动生成物理模型的字段 数据建模师有效地和客户沟通,问出
阅读全文
posted @ 2017-06-23 22:17
papering
阅读(319)
推荐(0)
摘要:
皮尔逊相关系数 斯皮尔曼等级相关(Spearman Rank Correlation) http://wiki.mbalib.com/wiki/斯皮尔曼等级相关 从表中的数字可以看出,工人的考试成绩愈高其产量也愈高,二者之间的联系程度是很一致的,但是相关系数r=0.676 并不算太高,这是由于它们之
阅读全文
posted @ 2017-06-23 11:14
papering
阅读(369)
推荐(0)
摘要:
微内核并非一个完整的os,而只是将操作系统中最基本的部分放入微内核: 1、与硬件处理相关的部分; 2、一些较基本的功能; 3、客户与服务器之间的通信。 文件操作的上下文切换 整体式内核:2次 客户应用< >os内核 微内核:8次 客户应用< >os内核< >文件服务器< >os内核< >磁盘设备驱动
阅读全文
posted @ 2017-06-21 21:40
papering
阅读(426)
推荐(0)
posted @ 2017-06-21 21:39
papering
阅读(254)
推荐(0)
posted @ 2017-06-21 21:38
papering
阅读(147)
推荐(0)
摘要:
scipy@ubuntu:/$ ll total 970056 drwxr-xr-x 22 root root 4096 Jun 7 03:56 ./ drwxr-xr-x 22 root root 4096 Jun 7 03:56 ../ drwxr-xr-x 2 root root 4096 Jun 7 06:19 bin/ drwxr-x...
阅读全文
posted @ 2017-06-17 18:39
papering
阅读(354)
推荐(0)
摘要:
专人写接口+模型,专人写业务逻辑 interface_model -- business logical 0-控制台脚本重构为“面向接口编程”;1-仓库类通过__constru方法,来实现一处实例化model,提高代码复用性;2-写通用仓库方法public function updateMainTa
阅读全文
posted @ 2017-06-17 09:57
papering
阅读(253)
推荐(0)
摘要:
1000 的数据,后续分析 */ public $listidThan1000Arr = []; /** * Create a new command instance. * * @return void */ //當前爬蟲飆升榜最大主鍵 public $moversTopKRepoMaxId; p...
阅读全文
posted @ 2017-06-15 22:48
papering
阅读(258)
推荐(0)
posted @ 2017-06-15 10:10
papering
阅读(192)
推荐(0)
posted @ 2017-06-14 11:02
papering
阅读(277)
推荐(0)
posted @ 2017-06-13 17:11
papering
阅读(230)
推荐(0)
摘要:
使用文本编辑器 - 廖雪峰的官方网站 https://www.liaoxuefeng.com/wiki/1016959663602400/1017024645952992 直接输入python进入交互模式,相当于启动了Python解释器,但是等待你一行一行地输入源代码,每输入一行就执行一行。 直接运
阅读全文
posted @ 2017-06-13 16:09
papering
阅读(475)
推荐(0)
摘要:
http://research.google.com/archive/mapreduce.html
阅读全文
posted @ 2017-06-12 18:07
papering
阅读(290)
推荐(0)
摘要:
[root@hadoop1 nlp]# python sqlserver_t.py Traceback (most recent call last): File "sqlserver_t.py", line 1, in <module> import pymssqlImportError: lib
阅读全文
posted @ 2017-06-12 17:26
papering
阅读(1526)
推荐(0)
摘要:
https://zhuanlan.zhihu.com/p/31674972 https://rainmanwy.github.io/Python的final-Class/
阅读全文
posted @ 2017-06-12 16:47
papering
阅读(260)
推荐(0)
posted @ 2017-06-10 16:54
papering
阅读(284)
推荐(0)
摘要:
js 获取文本 //获取标签机器子标签的所有文本内容 var box = document.getElementById('box'); var box2 = box.innerText; console.log(box2); product.xpath("div//div[@class='a-ro
阅读全文
posted @ 2017-06-09 17:39
papering
阅读(608)
推荐(0)
posted @ 2017-06-08 23:45
papering
阅读(181)
推荐(0)
摘要:
http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/001386819196283586a37629844456ca7e5a7faa9b94ee8000
阅读全文
posted @ 2017-06-08 23:09
papering
阅读(243)
推荐(0)
摘要:
http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/0013747381369301852037f35874be2b85aa318aad57bda000 第一个缺点就是运行速度慢,和C程
阅读全文
posted @ 2017-06-08 22:44
papering
阅读(601)
推荐(0)
摘要:
import reimport tracebackfrom itertools import chainfrom functools import partialfrom timeit import default_timer as timerfrom .decorators import deco
阅读全文
posted @ 2017-06-08 22:43
papering
阅读(515)
推荐(0)
摘要:
In mathematics, a stiff equation is a differential equation for which certain numerical methods for solving the equation are numerically unstable, unl
阅读全文
posted @ 2017-06-08 19:19
papering
阅读(534)
推荐(0)
摘要:
x = 0 :0.02:pi y = sin(x).*exp((2*x+3)) plot(x,y)
阅读全文
posted @ 2017-06-08 18:46
papering
阅读(174)
推荐(0)
摘要:
http://legacy.python.org/dev/peps/pep-0008/ Object type comparisons should always use isinstance() instead of comparing types directly. When checking
阅读全文
posted @ 2017-06-08 18:30
papering
阅读(656)
推荐(0)
摘要:
w http://legacy.python.org/dev/peps/pep-0008/ Yes: if foo.startswith('bar'):No: if foo[:3] == 'bar':
阅读全文
posted @ 2017-06-08 18:29
papering
阅读(189)
推荐(0)
摘要:
方差variance 统计中的方差(样本方差)是每个样本值与全体样本值的平均数之差的平方值的平均数。V 离差平方和(Sum of Squares of Deviations)是各项与平均项之差的平方的总和。SS SS = V N 总体方差 数据个数 SS/N 样本方差 数据个数减一 SS/N 1 离
阅读全文
posted @ 2017-06-07 22:23
papering
阅读(229)
推荐(0)
摘要:
py 3.6 python (2.7) py 3.6 py m pip install upgrade pip py m pip install numpy scipy matplotlib ipython jupyter pandas sympy nose py m pip install nlt
阅读全文
posted @ 2017-06-06 22:14
papering
阅读(166)
推荐(0)
摘要:

阅读全文
posted @ 2017-06-06 17:46
papering
阅读(152)
推荐(0)
摘要:
https://docs.python.org/3/library/threading.html Return the ‘thread identifier’ of the current thread. This is a nonzero integer. Its value has no dir
阅读全文
posted @ 2017-06-05 22:03
papering
阅读(643)
推荐(0)
posted @ 2017-06-05 12:29
papering
阅读(167)
推荐(0)
posted @ 2017-06-05 12:26
papering
阅读(140)
推荐(0)
posted @ 2017-06-03 00:54
papering
阅读(169)
推荐(0)
摘要:
http://byvoid.github.io/slides/slmpime/index.html https://www.byvoid.com/zht/blog/slm_based_pinyin_ime
阅读全文
posted @ 2017-06-02 12:18
papering
阅读(186)
推荐(0)