0 1
play

- PowerPoint PPT Presentation

! !"#$%"$&#%&'($&)$*+#"$&,-&./$),0$1& 23#45#%6&,%&',7&,-&)"#$%'#-#"&",073'#%6 8#4.*9&:.),% (;2#'<49 ;(0.),% ! &


  1. ! !"#$%"$&#%&'($&)$*+#"$&,-&./$),0$1& 23#45#%6&,%&',7&,-&)"#$%'#-#"&",073'#%6 8#4.*9&:.),% (;2#'<49 ;(0.),%

  2. ! & http://www.pcworld.com/article/223409/move_over_dr_soong_ girls_can_build_android_apps_too.html & http://bit.ly/hOnbWg

  3. &

  4. & &

  5. "

  6. /#"=$5&(.*5&7*,24$0 ! & >?)&,-&0#44#,%)&,-&@AB)&C 5.9& & & >??)&,-&0#44#,%)&,-&$+$%')&C& & 5.9 >???)&,-&0#44#,%)&,-&5.'.& 7,#%')

  7. D.'.&)"#$%"$E %),-)%%*-), (#./ )%*+& & & )%*+& )%*+& & & )%*+& &0-%)0% & /#01-), #$%&'(%!)%*+&

  8. F2'.#%& & !"*32 & GH74,*$ & :,5$4 & #I'$*7*$' /..23445-.67849:;<=>

  9. find . | awk -F. '{print $3}' | sort | uniq - ! c | sort –n & 21 txt 23 h 28 tcl 29 cnf 29 nginx 48 c 48 sql 120 html 121 js 152 conf 341 sh 584 py

  10. J(9&%,/E !

  11. K46,*#'(0)&L & F%M5$0.%5&",073'#%6&L & 5.'.&5.'.&5.'.

  12. &

  13. '($&*$.4& ",%'#%$%')&,-& '($&/,*45 http://bit.ly/r1OoHn

  14. & http://bit.ly/mPLOTc

  15. K)',0$'*9&N*,O$"' http://bit.ly/qRns6E

  16. G%*,%1&832M.%5M!7,=$&,-&D$"$#' B%0*%.!@*'A%0.& ?'*(#7!@*'A%0.& http://bit.ly/pAoboI

  17. /..2&344,-./C560'(4+*%$0')$#84&.*#.#D5''.0#(2

  18. P-49#%6&".*Q

  19. J(.'&4.%63.6$)&.*$&#%&.&7.6$E

  20. ".4"34.'#,%)&,%&)'*$.0)&,-&5.'. ! "4#"=&$+$%' R3$3$ EC%C%!*%#+%* & *$5#) 8SSN& F KNT *$5#)

  21. & !

  22. $%'*,79&".4"34.'#,% ! def ghash2lang(g, Ri, min_count=3, max_entropy=0.2): """ returns the majority vote of a langauge for a given hash """ lang = R.zrevrange(g,0,0)[0] # let's calculate the entropy! # possible languages x = R.zrange(g,0,-1) # distribution over those languages p = np.array([R.zscore(g,langi) for langi in x]) p /= p.sum() # info content I = [pi*np.log(pi) for pi in p] # entropy: smaller the more certain we are! - i.e. the lower our surprise H = -sum(I)/len(I) #in nats! # note that this will give a perfect zero for a single count in one language # or for 5K counts in one language. So we also need the count.. count = R.zscore(g,lang) if count < min_count and H > max_entropy: return lang, count else: return None, 1

  23. http://4sq.com/96kc1O

  24. J(.'&4,".'#,%)&.*$&*$4$+.%'&',&.& @ABE

  25. & /..2344&0*%$/%#+&')7860'(4GHII4H"4IJ4K-+%'L&'&#L(8L7-M%LM*%%&.87%4

  26. "4#"=&5#)'*#23'#,%&5.'. !

  27. 8,/&5,&7$,74$&"4#"=&,%&@AB)& ,+$*&'#0$E

  28. !

  29. %,*0.4&"4#"=&5#)'*#23'#,%) !

  30. & !

  31. & !

  32. & !

  33. & !

  34. .2%,*0.4&"4#"=&5#)'*#23'#,%) !

  35. &

  36. &

  37. "43)'$5&@AB) !

  38. J(.'U)&'*$%5#%6E

  39. !

  40. & ! & NN

  41. !

  42. ! ! S(.%=&9,3V (;2#'<49 ;(0.),%

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend