ãã®è¨äºã¯ãPyMC3ã®ããã¥ã¡ã³ã A Hierarchical model for Rugby prediction â PyMC3 3.0 documentation ã®ã³ã¼ããå¼ç¨ãã¦ãã¾ãã PyMC3ã§ã©ã°ãã¼ã®é層ãã¤ãºã¢ããªã³ã° å è¨äºã§ã¯ãã·ãã¯ã¹ãã¼ã·ã§ã³ãº2014ã®å試åãé層ãã¤ãºã§ã¢ããªã³ã°ãã¦ãâ¦
awk(ã¨ä»ã®ã³ãã³ã)ã¦ã¼ã¶ã¼ãPerlã¯ã³ã©ã¤ãã¼ãè¦ããã¨ãããããã¨ââ -aãªãã·ã§ã³ã§awkã¨ä¼¼ããããªæ¸ãæ¹ãã§ãã(awkã¨ã®æ¯è¼ãåè) ã«ã©ã 1ã¨ã«ã©ã 2ã表示 awk '{print $1, $2}' perl -waln -e 'print $F[0], $F[1]' awkããperlã®æ¹ãéãå ´åãâ¦
ç©çå¦ Advent Calendar 2014 - Adventar 20æ¥ç®ã®è¨äºã§ãã ãã©ã¦ã³éåã表ç¾ãã確çå¾®åæ¹ç¨å¼ã§ããLangevinæ¹ç¨å¼ã¨ãããæ¡å¼µãã温度ã®ãããLangevinæ¹ç¨å¼ã®è©±ããã¾ãã ã¾ããå¹¾ä½ãã©ã¦ã³éåã¯éèååã®ã¢ãã«åã«å©ç¨ããããããã®ã§ããâ¦
R Advent Calendar 2014 : ATND 19æ¥ç®ã®è¨äºã§ããRã®ããã±ã¼ã¸{biganalytics}ã«ãã«ãªã¯ãéã£ãã¨ãã®è©±ããã¾ãã bigmemoryããã¸ã§ã¯ã biganalyticsã¯bigmemoryããã¸ã§ã¯ãå ã®ããã±ã¼ã¸ã®ã²ã¨ã¤ã§ãã bigmemoryããã¸ã§ã¯ã(The bigmemory Projeâ¦
LCS ç©çå¦ Advent Calendar 2014 - Adventar 6æ¥ç®ã§ãã Lagrangian coherent structures(ã©ã°ã©ã³ã¸ã¢ã³ã³ãã¼ã¬ã³ãæ§é ã以ä¸, LCS)ã®è©±ãæ¸ãã¾ãã LCSã«ã¤ãã¦ããããç°¡åã«èª¬æããã¨ãæµä½ä¸ã®åçãªããªã¢æ§é ã§ããä¾ãã°ãä¹±æµã®ãããªè¤éãªâ¦
Python Advent Calendar 2014 - Qiita 3æ¥ç®ã®è¨äºã§ãã ã¿ã¤ãã«ã®éããSageMathCloudã使ã£ã¦ã¿ããã¨ãã話ããã¾ãã SageMathCloudã¨ã¯ï¼ ãããç°¡åã«èª¬æããã¨ãã¯ã©ã¦ã(ãã©ã¦ã¶)ä¸ã§ãSageMathãiPython NotebookãLaTeXãTerminalãªã©ãå®è¡ã§â¦
(head -n +1 sample.txt && tail -n +2 sample.txt | sort ) > sorted_sample.txt headã¨tailã使ãã°ãä¸éãã¡ã¤ã«ç¡ãã§æ¸ããã以ä¸ã¯ãµã³ãã«ãã¡ã¤ã«ã使ã£ã解説ã ä¾ãã°ãããªãã¡ã¤ã«ãsample.txt id x y 1 1.3 0.6 2 1.1 0.4 3 1.1 0.6 4 1.7 0.4â¦
æ©æ¢°å¦ç¿ããã«ã½ã³ã«è¡ã£ã¦ãã¾ããã ä¼å ´ã¯ãç§èåã¢ã³ãã¼ã°ã©ã¦ã³ããã¢ããã«ã¯å¦ã«è¦ªè¿æãè¦ãã¾ãã ãã¼ãã¯ãæ©æ¢°å¦ç¿ã使ã£ã¦ãªã«ãããããã¨ãããã¨ã§ã使ããã¼ã¿ã¯èªç±ãææ³ãèªç±ãR使ã£ã¦ãããããsklearn使ã£ã¦ãããããèªåã§ã¢ã«â¦
é£æ³é åã®ãã¼ã«ã°ã«ã¼ãã®ååã使ãã°ãkã éè¨ãããã¡ã¤ã«ââ hoge.txt ããã 230 ããã 300 ã°ãªãª 190 ã°ãªãª 190 ã¿ãã 110 ããã 310 ã°ãªãª 190 ã¿ãã 110 ã¿ãã 130 awkãã¡ã¤ã«ââ sum.awk { sum[$1]+=$2 }; END { for (key in sum) { prinâ¦
åè¨ãå¹³åãåæ£ãæ¨æºåå·® åæ¹åã®éè¨ããã¥ãããªã£ã¦æã£ã¦ããã©ãfor (i=1;i<=NF;i++)使ã£ã¦æ¥½ãã³ã éè¨ãããã¡ã¤ã«ââ hoge.txt 840 394 783 798 911 197 335 768 277 553 477 628 364 513 952 916 awkãã¡ã¤ã«ââ sum.awk BEGIN { print "sum", "â¦
awkã§éè¤è¡ãé«éåé¤ããã è¡ã®éè¤åé¤ã§èª¿ã¹ãã¨ããåºã¦ããã®ããsort & uniqã使ã£ãã³ãã³ãã ã½ã¼ãã¯ãã¡ã¤ã«ã大ãããªãã¨ãå®è¡ã«ããªãæéãããã£ã¦ãã¾ãã¾ããã ã½ã¼ãããã«é«éå®è¡ã§ããã®ãã次ã®awkã³ãã³ãã awk '!colname[$1]+â¦
Markdownã使ãã ã¿ããªå¤§å¥½ãEvernoteã ã¡ãã£ã¨ãããã¼ã代ããã«æ¸ãè¾¼ãã ããTodoã¡ã¢ãåå¿é²ã¨ãã¦ã使ãã¦ãä½ããã¯ã©ã¦ãã§å ±æã§ããã®ã便å©ã§ãããã èªåãæãã¤ãããã¨ã¯ä½ã§ãEvernoteã«æ¸ãæºãã¦ããã®ã§ãããæåã®å¤§ããã¨ãæã®â¦
ã³ã¼ãã®èª¬æãã¨ã§æ¸ã æ¼ãã¦ï¼ var dataset = [ 5, 10, 13, 19, 21, 25, 22, 18, 15, 13, 11, 12, 15, 20, 18, 17, 16, 18, 23, 25 ] var w = 600 var h = 250 var xScale = d3.scale.ordinal() .domain(d3.range(dataset.length)) .rangeRoundBands([0, â¦
ä¸å½è£½ã®android端æ«ããã£ã¦ããã®ã§ãããadbã®ã³ãã³ãã§ç«¯æ«ãèªèãããªãã£ã件ã«ã¤ãã¦ã android - adb not finding my device / phone (MacOS X) - Stack Overflow ã·ã¹ãã æ å ±ãããUSBã«ç¹ãã£ã¦ããandroid端æ«ãé¸æãã¦ã製é å IDãã³ãã¼ãâ¦
ãªãã¸ã§ã¯ãæåã¦ãªãã ã - 絶æï¼ãªã«ããï¼ç¾å³ããã®ï¼ ãã®è¨äºããå¼ç¨ã ãªãã¸ã§ã¯ãæåã¨ã¯ä½ããï¼ã¨é¢æ¥ã¨ãã§ããè´ãããã®ã§ãã åºæ¬çã«ã説æãªããåºæ¥ãªããã ããã¯ããã®éãã ããªãã¸ã§ã¯ãæåãã¯èãæ¹ã§ãããããºã¯ã¼ãã§â¦
kaggleã§é¢ç½ãããªãã¼ã¿ã³ã³ããã£ã¦ã äºæ¸¬ã¢ãã«ããã¼ã¿åæã®ã³ã³ããã£ã·ã§ã³ã®kaggleã ä»åã¯ã¹ãã¼ãã«é¢é£ããã³ã³ãã§ã大å¦ãã¹ã±ã®åæ(åç)äºæ¸¬ã§ãã NCAAã£ã¦ãªãã ãï¼ ãã¹ã±ã¯å ¨ç¶è©³ãããªãã®ã§ããNBAã¯ç¥ã£ã¦ããã©ãNCAAã£ã¦èããâ¦
ä¸ã®æ£ã°ã©ãã¯ååã®ã³ã¼ãã«ãåã¤ãã³ããå®è£ ãããã®ã§ãã ã°ã©ã表示ã®éã®ã¢ãã¡ã¼ã·ã§ã³ã¨ããã¦ã¹ãªã¼ãã¼ããã¨ãã®åä½ããD3.jsã®transition()ã¨ã¤ãã³ããªã¹ãã¼ã使ã£ã¦ç°¡åã«è¿½å ãããã¨ãã§ãã¾ãã transition() var dataset = [ 5, 10, â¦
D3.jsã¨ãã¼ã¿ãã¸ã¥ã¢ã©ã¤ã¼ã¼ã·ã§ã³ ãããã°ãã¼ã¿ããããã¼ã¿ãµã¤ã¨ã³ãã£ã¹ããã¨ãã£ãè¨èã«ç¶ããããã¼ã¿ãã¸ã¥ã¢ã©ã¤ã¼ã¼ã·ã§ã³ãããã¼ã¯ã¼ãã¨ãã¦æ³¨ç®ããã¦ãã¦ãã¾ããã ãã¼ã¿ãè¦è¦åãããã¼ã«ã¯æ¬å½ã«ããããããã¾ãããå人çã«ä½¿ãâ¦
.gitconfig ãã使ããµãã³ãã³ãã¯ã¨ã¤ãªã¢ã¹è²¼ããlogããããã«è¦ããã®ã§git treeã¯ããããã [alias] ch = checkout co = commit st = status br = branch hist = log --pretty=format:\\\"%h %ad | %s%d [%an]\\\" --graph --date=short tree = log -â¦
ã»ã¼ã»ã¼åå¿è ã§SQLã®ç·´ç¿ããããã£ã¦ãã人ãç¥èã®å確èªãããã人ã«ãªã¹ã¹ã¡ã®ãµã¤ãã SQLZOO ãã©ã¦ã¶ä¸ã§åä½ããã®ã§ãããã©ãããç°å¢è¨å®ããªãã ãã¼ã¿ãã¼ã¹ããMySQLãOracleãSQL ServerãPostgreãIngresãDB2ããé¸ã¹ãã ç°¡åãªSELECTâ¦
herokuä¸ã§node.js & Expressãåãããã¨ãã®ã¡ã¢ãããããããherokuã®ã¢ããªããã¼ã«ã«ã«cloneãã¦ããã expressã®ã¤ã³ã¹ãã¼ã« ããã¸ã§ã¯ãä½æ Procfileä½æ ããã㤠expressã®ã¤ã³ã¹ãã¼ã« npmã使ã£ã¦ãexpressãã¤ã³ã¹ãã¼ã«ããã npm install â¦
herokuã®ã¢ã«ã¦ã³ãã¨ã¢ããªãä½ã£ããã¨ã®sshã®ç»é²ã¨ãã¼ã«ã«ã¸ã®cloneã¾ã§ã®ã¡ã¢ã herokuã³ãã³ã sshãã¼ã®ç®¡ç clone herokuã³ãã³ã herokuã³ãã³ãã¯ããããã¤ã³ã¹ãã¼ã«ã Heroku Toolbeltherokuã³ãã³ãã使ã£ã¦ãã¿ã¼ããã«ãããã°ã¤ã³ããã hâ¦
Python Advent Calendar 2013 - Adventarã20æ¥ç®ã®è¨äºã§ããpythonã®æ©æ¢°å¦ç¿ã©ã¤ãã©ãªã®sklearnã便å©ã ããã¥ã¡ã³ããå å®ãã¦ãããæ©æ¢°å¦ç¿ã®ã¢ã«ã´ãªãºã ã«è©³ãããªãã¦ãæ軽ã«ä½¿ããã®ã§ãåãããªããåå¼·ã§ãããâ sklearnã§ã§ãããã¨(ä¸é¨) â¦
R Advent Calendar 2013 : ATND 17æ¥ç®ã®è¨äºã§ãã Rã®ãªãã¸ã§ã¯ãæå Rããªãã¸ã§ã¯ãæåã§æ¸ããã¨èãã¦ãThe Art of R Programmingãèªãã ãjavaã¨ãpythonã®ãªãã¸ã§ã¯ãæåã¨ã¯ã ãã¶éããã®ã§ãRã®ãªãã¸ã§ã¯ãæåã¯ä¸»ã«ããã²ã¨ã¤ã®é¢æ°ã§ãâ¦
Deep Learningã«theanoã®GPUè¨ç®ã®ãã¥ã¼ããªã¢ã«ããã£ãã®ã§ãã£ã¦ã¿ãã pylearn2ã使ã£ããã£ã¼ãã©ã¼ãã³ã°ã®ãã¬ã¼ãã³ã°ãGPUã§é«éè¨ç®ã§ããã Using the GPU â Theano 0.6 documentationã¡ãªã¿ã«CUDAã対å¿ãã¦ãªããã½ã³ã³ã ã¨CPUãã使ããªãã(â¦
tmux便å©ã ãªããã¿ã¼ããã«å¤§å¥½ã人éã¯ãããªã¹ã¦ä½¿ãã¹ãã¨è¨ã£ã¦ãããã®ã§ã¯ããã§ããããã tmuxã¯è¤æ°ã®ã¦ã£ã³ãã¦ãéããããç»é¢ãåå²ãã¦ã¬ã¤ã¢ã¦ããå¤æ´ãããã§ããã (I mean, a terminal multiplexer!!) ä¸ã®ãããªã¤ã¡ã¼ã¸ã§ãsessionå â¦
Scrapyã§webã¹ã¯ã¬ã¤ãã³ã°ããã¨ãããã¼ã¸ä¸ã®ç»åãä¸æ¬ã§ãã¦ã³ãã¼ããã¦ããã¼ã«ã«ã«å ¨é¨ä¿åãããDownloading Item Images â Scrapy 0.21.0 documentationãããã£ã¦ãã®ãã¼ã¸ãããã³ã¿ã¼æåãä¸æ¬ãã¦ã³ãã¼ããããã¨ã«ãªã£ãã ãã³ã¿ã¼æåscâ¦
ipython notebookããã便å©ã The IPython Notebook â IPython 2.0.0-dev: Work in Progress documentationéçºãçãã§ããã¼ã¸ã§ã³ãæ´æ°ããããã³ã«ãUIãã©ãã©ããããªãã ã¬ã³ã¬ã³è£å®ãã¦ãããããã³ãã³ãã©ã¤ã³ä¸ã®ipythonã§ã¯åºæ¥ãªããããªãâ¦
Deeplearnigã®ã©ã¤ãã©ãªã«ã¯Theanoã¨èãã¦ã ã¡ãã£ã¨ãã¼ã«ã«ã®ã¹ããã¯ã§ã¯ãã®è¶³ããªãã®ã§ãè¨ç®ç¨ã®centosã«Theanoãã¤ã³ã¹ãã¼ã«ããã¨ãã®ã¡ã¢ãpythonã¨ããã±ã¼ã¸ã®ãã¼ã¸ã§ã³åé¡ã§è©°ã¾ã£ããã¨ãããã¨ã©ã¼ã®ã¿ã³æ®´ãã«ãã£ããã¨ãããããéâ¦
theanoã¨ããããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããããpythonã®ãã¼ã¸ã§ã³ãåå ã§ã¨ã©ã¼ã«ãªã£ãã®ã§ãæ°ããpythonãã¤ã³ã¹ãã¼ã«ããã ããã§ãã·ã¹ãã ã®pythonã«ã·ã³ããªãã¯ãªã³ã¯è²¼ã£ãããã¦ãããåã«ä½ã£ã¦ãããã°ã©ã ãåããªããªã£ãã ã¨ãããã¨ã§â¦