前提准备:利用sql筛选出每个球出现概率最高的前5个数

原理:先爬出所有的历史数据,然后模拟摇奖机出球的机制并大量模拟计算,直到出现列表中的某一个数后即停

注意事项:由于计算过程数据量很大,需要加入内存释放的操作

成果:目前博主最好记录是中了3红1蓝,适合学习交流使用,信则有

  1. #coding=utf-8
  2. import random
  3. import time
  4. import gc
  5. import datetime
  6. from collections import Counter
  7. try:
  8. dt = datetime.datetime.now()
  9. time.sleep(1)
  10. print u'程序启动时间:'+dt.strftime('%Y-%m-%d %H:%M:%S')
  11. time.sleep(2)
  12. print u'程序正在计算......'
  13. real_red_1 = [1, 2, 3, 4, 5]
  14. real_red_2 = [7, 8, 6, 9, 5]
  15. real_red_3 = [14, 11, 13, 16, 12]
  16. real_red_4 = [20, 17, 22, 23, 18]
  17. real_red_5 = [26, 27, 25, 28, 24]
  18. real_red_6 = [32, 33, 31, 30, 29]
  19. real_blue = [9, 12, 11, 14, 6,13,7,15]
  20. def num_red_1():
  21. i = 0
  22. numlist_1 = []
  23. numlist_2 = []
  24. numlist_3 = []
  25. numlist_4 = []
  26. numlist_5 = []
  27. while i < 10000:
  28. i = i + 1
  29. numlist_1.append(random.randint(1, 33))
  30. gc.collect()
  31. numlist_2.append(random.randint(1, 33))
  32. gc.collect()
  33. numlist_3.append(random.randint(1, 33))
  34. gc.collect()
  35. numlist_4.append(random.randint(1, 33))
  36. gc.collect()
  37. numlist_5.append(random.randint(1, 33))
  38. global numlist
  39. numlist = numlist_1 + numlist_2 + numlist_3 + numlist_4 + numlist_5
  40. numpercent = {}
  41. for d in set(numlist):
  42. numpercent[numlist.count(d)] = d
  43. for e in reversed(sorted(numpercent.keys())[-1:]):
  44. return numpercent[e]
  45. while True:
  46. for i in range(10000):
  47. num_red_1()
  48. bingonum_red_1 = num_red_1()
  49. if bingonum_red_1 not in real_red_1:
  50. continue
  51. c = Counter(numlist)
  52. # print c[bingonum_red_1]
  53. if bingonum_red_1 == 1:
  54. numberA = c[bingonum_red_1]/float(50000)
  55. numberB = 384/float(2004)
  56. # print numberA
  57. # print numberB
  58. # print '%.2f%%'%(numberA / numberB*100)
  59. print u'一号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_1) + ' ' + u'中奖概率' + str(
  60. '%.2f%%' % (numberB*(1+numberA)*100))
  61. elif bingonum_red_1 == 2:
  62. numberA = c[bingonum_red_1]/float(50000)
  63. numberB = 307/float(2004)
  64. print u'一号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_1) + ' ' + u'中奖概率' + str(
  65. '%.2f%%' % (numberB*(1+numberA)*100))
  66. elif bingonum_red_1 == 3:
  67. numberA = c[bingonum_red_1]/float(50000)
  68. numberB = 255/float(2004)
  69. print u'一号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_1) + ' ' + u'中奖概率' + str(
  70. '%.2f%%' % (numberB*(1+numberA)*100))
  71. elif bingonum_red_1 == 4:
  72. numberA = c[bingonum_red_1]/float(50000)
  73. numberB = 209/float(2004)
  74. print u'一号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_1) + ' ' + u'中奖概率' + str(
  75. '%.2f%%' % (numberB*(1+numberA)*100))
  76. else:
  77. numberA = c[bingonum_red_1]/float(50000)
  78. numberB = 175/float(2004)
  79. print u'一号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_1) + ' ' + u'中奖概率' + str(
  80. '%.2f%%' % (numberB*(1+numberA)*100))
  81. break
  82. break
  83. time.sleep(5)
  84. def num_red_2():
  85. i = 0
  86. numlist_1 = []
  87. numlist_2 = []
  88. numlist_3 = []
  89. numlist_4 = []
  90. numlist_5 = []
  91. while i < 10000:
  92. i = i + 1
  93. numlist_1.append(random.randint(1, 33))
  94. gc.collect()
  95. numlist_2.append(random.randint(1, 33))
  96. gc.collect()
  97. numlist_3.append(random.randint(1, 33))
  98. gc.collect()
  99. numlist_4.append(random.randint(1, 33))
  100. gc.collect()
  101. numlist_5.append(random.randint(1, 33))
  102. global numlist
  103. numlist = numlist_1 + numlist_2 + numlist_3 + numlist_4 + numlist_5
  104. numpercent = {}
  105. for d in set(numlist):
  106. numpercent[numlist.count(d)] = d
  107. for e in reversed(sorted(numpercent.keys())[-1:]):
  108. return numpercent[e]
  109. while True:
  110. for i in range(10000):
  111. num_red_2()
  112. bingonum_red_2 = num_red_2()
  113. if bingonum_red_2 not in real_red_2:
  114. continue
  115. c = Counter(numlist)
  116. if bingonum_red_2 == 7:
  117. numberA = c[bingonum_red_2]/float(50000)
  118. numberB = 181/float(2004)
  119. print u'二号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_2) + ' ' + u'中奖概率' + str(
  120. '%.2f%%' % (numberB*(1+numberA)*100))
  121. elif bingonum_red_2 == 8:
  122. numberA = c[bingonum_red_2]/float(50000)
  123. numberB = 168/float(2004)
  124. print u'二号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_2) + ' ' + u'中奖概率' + str(
  125. '%.2f%%' % (numberB*(1+numberA)*100))
  126. elif bingonum_red_2 == 6:
  127. numberA = c[bingonum_red_2]/float(50000)
  128. numberB = 160/float(2004)
  129. print u'二号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_2) + ' ' + u'中奖概率' + str(
  130. '%.2f%%' % (numberB*(1+numberA)*100))
  131. elif bingonum_red_2 == 9:
  132. numberA = c[bingonum_red_2]/float(50000)
  133. numberB = 140/float(2004)
  134. print u'二号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_2) + ' ' + u'中奖概率' + str(
  135. '%.2f%%' % (numberB*(1+numberA)*100))
  136. else:
  137. numberA = c[bingonum_red_2]/float(50000)
  138. numberB = 140/float(2004)
  139. print u'二号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_2) + ' ' + u'中奖概率' + str(
  140. '%.2f%%' % (numberB*(1+numberA)*100))
  141. break
  142. break
  143. time.sleep(5)
  144. def num_red_3():
  145. i = 0
  146. numlist_1 = []
  147. numlist_2 = []
  148. numlist_3 = []
  149. numlist_4 = []
  150. numlist_5 = []
  151. while i < 10000:
  152. i = i + 1
  153. numlist_1.append(random.randint(1, 33))
  154. gc.collect()
  155. numlist_2.append(random.randint(1, 33))
  156. gc.collect()
  157. numlist_3.append(random.randint(1, 33))
  158. gc.collect()
  159. numlist_4.append(random.randint(1, 33))
  160. gc.collect()
  161. numlist_5.append(random.randint(1, 33))
  162. global numlist
  163. numlist = numlist_1 + numlist_2 + numlist_3 + numlist_4 + numlist_5
  164. numpercent = {}
  165. for d in set(numlist):
  166. numpercent[numlist.count(d)] = d
  167. for e in reversed(sorted(numpercent.keys())[-1:]):
  168. return numpercent[e]
  169. while True:
  170. for i in range(10000):
  171. num_red_3()
  172. bingonum_red_3 = num_red_3()
  173. if bingonum_red_3 not in real_red_3:
  174. continue
  175. c = Counter(numlist)
  176. if bingonum_red_3 == 14:
  177. numberA = c[bingonum_red_3]/float(50000)
  178. numberB = 147/float(2004)
  179. print u'三号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_3) + ' ' + u'中奖概率' + str(
  180. '%.2f%%' % (numberB*(1+numberA)*100))
  181. elif bingonum_red_3 == 11:
  182. numberA = c[bingonum_red_3]/float(50000)
  183. numberB = 136/float(2004)
  184. print u'三号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_3) + ' ' + u'中奖概率' + str(
  185. '%.2f%%' % (numberB*(1+numberA)*100))
  186. elif bingonum_red_3 == 13:
  187. numberA = c[bingonum_red_3]/float(50000)
  188. numberB = 129/float(2004)
  189. print u'三号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_3) + ' ' + u'中奖概率' + str(
  190. '%.2f%%' % (numberB*(1+numberA)*100))
  191. elif bingonum_red_3 == 16:
  192. numberA = c[bingonum_red_3]/float(50000)
  193. numberB = 128/float(2004)
  194. print u'三号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_3) + ' ' + u'中奖概率' + str(
  195. '%.2f%%' % (numberB*(1+numberA)*100))
  196. else:
  197. numberA = c[bingonum_red_3]/float(50000)
  198. numberB = 125/float(2004)
  199. print u'三号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_3) + ' ' + u'中奖概率' + str(
  200. '%.2f%%' % (numberB*(1+numberA)*100))
  201. break
  202. break
  203. time.sleep(5)
  204. def num_red_4():
  205. i = 0
  206. numlist_1 = []
  207. numlist_2 = []
  208. numlist_3 = []
  209. numlist_4 = []
  210. numlist_5 = []
  211. while i < 10000:
  212. i = i + 1
  213. numlist_1.append(random.randint(1, 33))
  214. gc.collect()
  215. numlist_2.append(random.randint(1, 33))
  216. gc.collect()
  217. numlist_3.append(random.randint(1, 33))
  218. gc.collect()
  219. numlist_4.append(random.randint(1, 33))
  220. gc.collect()
  221. numlist_5.append(random.randint(1, 33))
  222. global numlist
  223. numlist = numlist_1 + numlist_2 + numlist_3 + numlist_4 + numlist_5
  224. numpercent = {}
  225. for d in set(numlist):
  226. numpercent[numlist.count(d)] = d
  227. for e in reversed(sorted(numpercent.keys())[-1:]):
  228. return numpercent[e]
  229. while True:
  230. for i in range(10000):
  231. num_red_4()
  232. bingonum_red_4 = num_red_4()
  233. if bingonum_red_4 not in real_red_4:
  234. continue
  235. c = Counter(numlist)
  236. if bingonum_red_4 == 20:
  237. numberA = c[bingonum_red_4]/float(50000)
  238. numberB = 147/float(2004)
  239. print u'四号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_4) + ' ' + u'中奖概率' + str(
  240. '%.2f%%' % (numberB*(1+numberA)*100))
  241. elif bingonum_red_4 == 17:
  242. numberA = c[bingonum_red_4]/float(50000)
  243. numberB = 146/float(2004)
  244. print u'四号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_4) + ' ' + u'中奖概率' + str(
  245. '%.2f%%' % (numberB*(1+numberA)*100))
  246. elif bingonum_red_4 == 22:
  247. numberA = c[bingonum_red_4]/float(50000)
  248. numberB = 144/float(2004)
  249. print u'四号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_4) + ' ' + u'中奖概率' + str(
  250. '%.2f%%' % (numberB*(1+numberA)*100))
  251. elif bingonum_red_4 == 23:
  252. numberA = c[bingonum_red_4]/float(50000)
  253. numberB = 132/float(2004)
  254. print u'四号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_4) + ' ' + u'中奖概率' + str(
  255. '%.2f%%' % (numberB*(1+numberA)*100))
  256. else:
  257. numberA = c[bingonum_red_4]/float(50000)
  258. numberB = 129/float(2004)
  259. print u'四号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_4) + ' ' + u'中奖概率' + str(
  260. '%.2f%%' % (numberB*(1+numberA)*100))
  261. break
  262. break
  263. time.sleep(5)
  264. def num_red_5():
  265. i = 0
  266. numlist_1 = []
  267. numlist_2 = []
  268. numlist_3 = []
  269. numlist_4 = []
  270. numlist_5 = []
  271. while i < 10000:
  272. i = i + 1
  273. numlist_1.append(random.randint(1, 33))
  274. gc.collect()
  275. numlist_2.append(random.randint(1, 33))
  276. gc.collect()
  277. numlist_3.append(random.randint(1, 33))
  278. gc.collect()
  279. numlist_4.append(random.randint(1, 33))
  280. gc.collect()
  281. numlist_5.append(random.randint(1, 33))
  282. global numlist
  283. numlist = numlist_1 + numlist_2 + numlist_3 + numlist_4 + numlist_5
  284. numpercent = {}
  285. for d in set(numlist):
  286. numpercent[numlist.count(d)] = d
  287. for e in reversed(sorted(numpercent.keys())[-1:]):
  288. return numpercent[e]
  289. while True:
  290. for i in range(10000):
  291. num_red_5()
  292. bingonum_red_5 = num_red_5()
  293. if bingonum_red_5 not in real_red_5:
  294. continue
  295. c = Counter(numlist)
  296. if bingonum_red_5 == 26:
  297. numberA = c[bingonum_red_5]/float(50000)
  298. numberB = 173/float(2004)
  299. print u'五号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_5) + ' ' + u'中奖概率' + str(
  300. '%.2f%%' % (numberB*(1+numberA)*100))
  301. elif bingonum_red_5 == 27:
  302. numberA = c[bingonum_red_5]/float(50000)
  303. numberB = 167/float(2004)
  304. print u'五号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_5) + ' ' + u'中奖概率' + str(
  305. '%.2f%%' % (numberB*(1+numberA)*100))
  306. elif bingonum_red_5 == 25:
  307. numberA = c[bingonum_red_5]/float(50000)
  308. numberB = 164/float(2004)
  309. print u'五号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_5) + ' ' + u'中奖概率' + str(
  310. '%.2f%%' % (numberB*(1+numberA)*100))
  311. elif bingonum_red_5 == 28:
  312. numberA = c[bingonum_red_5]/float(50000)
  313. numberB = 160/float(2004)
  314. print u'五号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_5) + ' ' + u'中奖概率' + str(
  315. '%.2f%%' % (numberB*(1+numberA)*100))
  316. else:
  317. numberA = c[bingonum_red_5]/float(50000)
  318. numberB = 133/float(2004)
  319. print u'五号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_5) + ' ' + u'中奖概率' + str(
  320. '%.2f%%' % (numberB*(1+numberA)*100))
  321. break
  322. break
  323. time.sleep(5)
  324. def num_red_6():
  325. i = 0
  326. numlist_1 = []
  327. numlist_2 = []
  328. numlist_3 = []
  329. numlist_4 = []
  330. numlist_5 = []
  331. while i < 10000:
  332. i = i + 1
  333. numlist_1.append(random.randint(1, 33))
  334. gc.collect()
  335. numlist_2.append(random.randint(1, 33))
  336. gc.collect()
  337. numlist_3.append(random.randint(1, 33))
  338. gc.collect()
  339. numlist_4.append(random.randint(1, 33))
  340. gc.collect()
  341. numlist_5.append(random.randint(1, 33))
  342. global numlist
  343. numlist = numlist_1 + numlist_2 + numlist_3 + numlist_4 + numlist_5
  344. numpercent = {}
  345. for d in set(numlist):
  346. numpercent[numlist.count(d)] = d
  347. for e in reversed(sorted(numpercent.keys())[-1:]):
  348. return numpercent[e]
  349. while True:
  350. for i in range(10000):
  351. num_red_6()
  352. bingonum_red_6 = num_red_6()
  353. if bingonum_red_6 not in real_red_6:
  354. continue
  355. c = Counter(numlist)
  356. if bingonum_red_6 == 32:
  357. numberA = c[bingonum_red_6]/float(50000)
  358. numberB = 309/float(2004)
  359. print u'六号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_6) + ' ' + u'中奖概率' + str(
  360. '%.2f%%' % (numberB*(1+numberA)*100))
  361. elif bingonum_red_6 == 33:
  362. numberA = c[bingonum_red_6]/float(50000)
  363. numberB = 307/float(2004)
  364. print u'六号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_6) + ' ' + u'中奖概率' + str(
  365. '%.2f%%' % (numberB*(1+numberA)*100))
  366. elif bingonum_red_6 == 31:
  367. numberA = c[bingonum_red_6]/float(50000)
  368. numberB = 249/float(2004)
  369. print u'六号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_6) + ' ' + u'中奖概率' + str(
  370. '%.2f%%' % (numberB*(1+numberA)*100))
  371. elif bingonum_red_6 == 30:
  372. numberA = c[bingonum_red_6]/float(50000)
  373. numberB = 221/float(2004)
  374. print u'六号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_6) + ' ' + u'中奖概率' + str(
  375. '%.2f%%' % (numberB*(1+numberA)*100))
  376. else:
  377. numberA = c[bingonum_red_6]/float(50000)
  378. numberB = 202/float(2004)
  379. print u'六号红球预测完成' + ' ' + u'号码:' + str(bingonum_red_6) + ' ' + u'中奖概率' + str(
  380. '%.2f%%' % (numberB*(1+numberA)*100))
  381. break
  382. break
  383. time.sleep(5)
  384. def num_blue():
  385. i = 0
  386. numlist_1 = []
  387. numlist_2 = []
  388. numlist_3 = []
  389. numlist_4 = []
  390. numlist_5 = []
  391. while i < 10000:
  392. i = i + 1
  393. numlist_1.append(random.randint(1, 16))
  394. gc.collect()
  395. numlist_2.append(random.randint(1, 16))
  396. gc.collect()
  397. numlist_3.append(random.randint(1, 16))
  398. gc.collect()
  399. numlist_4.append(random.randint(1, 16))
  400. gc.collect()
  401. numlist_5.append(random.randint(1, 16))
  402. global numlist
  403. numlist = numlist_1 + numlist_2 + numlist_3 + numlist_4 + numlist_5
  404. numpercent = {}
  405. for d in set(numlist):
  406. numpercent[numlist.count(d)] = d
  407. for e in reversed(sorted(numpercent.keys())[-1:]):
  408. return numpercent[e]
  409. while True:
  410. for i in range(10000):
  411. num_blue()
  412. bingonum_blue = num_blue()
  413. if bingonum_blue not in real_blue:
  414. continue
  415. c = Counter(numlist)
  416. if bingonum_blue == 9:
  417. numberA = c[bingonum_blue]/float(50000)
  418. numberB = 140/float(2004)
  419. print u'蓝球预测完成' + ' ' + u'号码:' + str(bingonum_blue) + ' ' + u'中奖概率' + str(
  420. '%.2f%%' % (numberB*(1+numberA)*100))
  421. elif bingonum_blue == 12:
  422. numberA = c[bingonum_blue]/float(50000)
  423. numberB = 136/float(2004)
  424. print u'蓝球预测完成' + ' ' + u'号码:' + str(bingonum_blue) + ' ' + u'中奖概率' + str(
  425. '%.2f%%' % (numberB*(1+numberA)*100))
  426. elif bingonum_blue == 11:
  427. numberA = c[bingonum_blue]/float(50000)
  428. numberB = 135/float(2004)
  429. print u'蓝球预测完成' + ' ' + u'号码:' + str(bingonum_blue) + ' ' + u'中奖概率' + str(
  430. '%.2f%%' % (numberB*(1+numberA)*100))
  431. elif bingonum_blue == 14:
  432. numberA = c[bingonum_blue]/float(50000)
  433. numberB = 130/float(2004)
  434. print u'蓝球预测完成' + ' ' + u'号码:' + str(bingonum_blue) + ' ' + u'中奖概率' + str(
  435. '%.2f%%' % (numberB*(1+numberA)*100))
  436. elif bingonum_blue == 6:
  437. numberA = c[bingonum_blue]/float(50000)
  438. numberB = 129/float(2004)
  439. print u'蓝球预测完成' + ' ' + u'号码:' + str(bingonum_blue) + ' ' + u'中奖概率' + str(
  440. '%.2f%%' % (numberB*(1+numberA)*100))
  441. elif bingonum_blue == 13:
  442. numberA = c[bingonum_blue]/float(50000)
  443. numberB = 129/float(2004)
  444. print u'蓝球预测完成' + ' ' + u'号码:' + str(bingonum_blue) + ' ' + u'中奖概率' + str(
  445. '%.2f%%' % (numberB*(1+numberA)*100))
  446. elif bingonum_blue == 7:
  447. numberA = c[bingonum_blue]/float(50000)
  448. numberB = 128/float(2004)
  449. print u'蓝球预测完成' + ' ' + u'号码:' + str(bingonum_blue) + ' ' + u'中奖概率' + str(
  450. '%.2f%%' % (numberB*(1+numberA)*100))
  451. else:
  452. numberA = c[bingonum_blue]/float(50000)
  453. numberB = 128/float(2004)
  454. print u'蓝球预测完成' + ' ' + u'号码:' + str(bingonum_blue) + ' ' + u'中奖概率' + str(
  455. '%.2f%%' % (numberB*(1+numberA)*100))
  456. break
  457. break
  458. finally:
  459. raw_input()

  

【原创】python基于大数据现实双色球预测的更多相关文章

  1. Python/Numpy大数据编程经验

    Python/Numpy大数据编程经验 1.边处理边保存数据,不要处理完了一次性保存.不然程序跑了几小时甚至几天后挂了,就啥也没有了.即使部分结果不能实用,也可以分析程序流程的问题或者数据的特点.   ...

  2. H2O是开源基于大数据的机器学习库包

    H2O是开源基于大数据的机器学习库包 H2O能够让Hadoop做数学,H2O是基于大数据的 统计分析 机器学习和数学库包,让用户基于核心的数学积木搭建应用块代码,采取类似R语言 Excel或JSON等 ...

  3. 黑马基础阶段测试题:创建一个存储字符串的集合list,向list中添加以下字符串:”C++”、”Java”、” Python”、”大数据与云计算”。遍历集合,将长度小于5的字符串从集合中删除,删除成功后,打印集合中的所有元素

    package com.swift; import java.util.ArrayList; import java.util.List; import java.util.ListIterator; ...

  4. 【Python开发】Python 适合大数据量的处理吗?

    Python 适合大数据量的处理吗? python 能处理数据库中百万行级的数据吗? 处理大规模数据时有那些常用的python库,他们有什么优缺点?适用范围如何? 需要澄清两点之后才可以比较全面的看这 ...

  5. 为什么说Python 是大数据全栈式开发语言

    欢迎大家访问我的个人网站<刘江的博客和教程>:www.liujiangblog.com 主要分享Python 及Django教程以及相关的博客 交流QQ群:453131687 原文链接 h ...

  6. 大数据征信的应用和启示:ZestFinance的基于大数据的信用评估技术

    http://www.d1net.com/bigdata/news/325426.html 2014年11月,本文作者有机会和ZestFinance的创始人和首席执行官梅里尔(Douglas C.Me ...

  7. python学习--大数据与科学计算第三方库简介

    大数据与科学计算  库名称 简介 pycuda/opencl GPU高性能并发计算 Pandas python实现的类似R语言的数据统计.分析平台.基于NumPy和Matplotlib开发的,主要用于 ...

  8. 深度剖析 | 基于大数据架构的BI应用

    说起互联网.电商的数据分析,更多的是谈应用案例,如何去实践数据化管理运营.而这里,我们要从技术角度分享关于数据的技术架构干货,如何应用BI. 原文是云猴网BI总经理王卫东在帆软大数据上的演讲,以下是整 ...

  9. 菜鸟学python之大数据的初认识

    这次作业的要求来自于:https://edu.cnblogs.com/campus/gzcc/GZCC-16SE1/homework/2639 1.这些分析所采用数据来源是什么? 国家数据库:中国铁路 ...

随机推荐

  1. LINUX 笔记-命令执行顺序 && ,||

    && 格式:命令1 && 命令2 说明:命令1返回真(即返回0,成功被执行)后,命令2才能够被执行 例:/apps/bin目录将会被移到/apps/dev/bin目录下 ...

  2. label联动checkbox

    label联动checkbox时,若label包含在checkbox外层时label不需for属性,设置label的display属性为block时可以使整个div联动.

  3. LeetCode 238. Product of Array Except Self (去除自己的数组之积)

    Given an array of n integers where n > 1, nums, return an array output such that output[i] is equ ...

  4. System.getProperty参数大全

    System.getProperty()参数大全 #java.version                                    Java Runtime Environment v ...

  5. ES6 let和const详解及使用细节

    ES6之前javascript只有全局作用域和函数作用域,所以经常会遇到变量提升了或者使用闭包的时候出错的问题. 所有a[i]都会输出10: var arr=[]; for (var i=0;i< ...

  6. Zernike不变矩

    1.Zernike矩介绍 Zernike矩是基于 Zernike多项式的正交化函数,所利用的正交多项式集是 1个在单位圆内的完备正交集.Zernike矩是复数矩 ,一般把 Zernike矩的模作为特征 ...

  7. Leetcode题解(21)

    62. Unique Paths 题目 分析: 机器人一共要走m+n-2步,现在举个例子类比,有一个m+n-2位的二进制数,现在要在其中的m位填0,其余各位填1,一共有C(m+n-2,m-1)种可能, ...

  8. Peaceful Commission

    Peaceful Commission Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others ...

  9. Mybatis动态查询语句

    MyBatis中动态SQL语句完成多条件查询 标签: mybatis动态SQL多条件查询java.sql.SQLSyntaxEr 2015-06-29 19:00 22380人阅读 评论(0) 收藏  ...

  10. Elasticsearch集群调优

    系统调优 禁用swap 使用swapoff命令可以暂时关闭swap.永久关闭需要编辑/etc/fstab,注释掉swap设备的挂载项. swapoff -a 如果完全关闭swap不可行,可以试着降低s ...