2015-01-01ãã1å¹´éã®è¨äºä¸è¦§
PHP Advent Calendar 2015 - Qiita ã® 12/22 ã®è¨äºã話é¡ã«ãªã£ã¦ãã¾ããããã®ã¢ããã³ãã«ã¬ã³ãã¼ã¯æ¯æ¥ãã§ãã¯ãã¦ããã®ã§ãããéå¤åã«èªãã§ãããã¯çãä¸ããã ãããªãã¨æããªããå¤æ¹ã«å度ã¢ã¯ã»ã¹ããã¨ããæ¡ã®å®ã¨ããå±éã§ãå¯ãããâ¦
以åãã®ããã°ã§ãç´¹ä»ãããã¨ãããã¾ãããphp-build ã¨ãããã«ããã¼ã«ã便å©ã§ãæç¨ãã¦ãã¾ããphpenv 㨠php-build ãçµã¿åããã¦ä½¿ããã¨ã§ãè¤æ°ã®ãã¼ã¸ã§ã³ã® PHP ãå ±åå¯è½ãªå½¢ã§ã¤ã³ã¹ãã¼ã«ããåãæ¿ãã¦ä½¿ããã¨ãã§ãã¾ãããã¼ã¸ã§ã³â¦
ãã®è¨äºã¯ãéPHP Advent Calendar 2015 ã® 7 æ¥ç®ã¨ãã¦æ¸ãããã®ã§ããqiita.com PHP 7.0.0 ããªãªã¼ã¹ãããã®ã§æ¹ãã¦ãªãã³ã¼ããçºãã¦ããã¨ããã次ã®ããã«æ¬ çªããããã¨ã«æ°ä»ãã¾ããã #define ZEND_ASSIGN_REF 39 #define ZEND_ECHO 40 #defâ¦
PHP7 ã§å©ç¨ã§ãã php-ast æ¡å¼µã¢ã¸ã¥ã¼ã«ãå°å ¥ãã¦ãPHP ã®ããã°ã©ã ã®ãã¡ã¤ã«ãµã¤ãºã¨æ½è±¡æ§ææ¨ã®ãã¼ãæ°ã®é¢ä¿ããããããã¦ã¿ã¾ããPHP7 ã§ã¯ãããã°ã©ã ãå®è¡ããéãæ§æ解æã®çµæãæ½è±¡æ§ææ¨ (Abstract Syntax Tree) ã®å½¢ã«ãã¦ãããããâ¦
ååã®è¨äºã«ç¶ãããç¶ã»ãããããããã¿ã¼ã³èªèãã®ä¾é¡ãå®è£ ããªããå 容ã確èªãã¾ããä»åã¯ç¬¬ 3 ç« ããã¤ãºæ±ºå®åãã§ãã第 3 ç« ã®ä¾é¡ã¯ãååã®è¨äºã¨åãè¨å®ã®ã³ã¤ã³æããé¡æã«ãã¦ã観測çµæ (ããã³ã¤ã³ã n åæãã¦ããã®ãã¡ r åã表â¦
ãç¶ã»ãããããããã¿ã¼ã³èªèãã® 2.3 ç¯ããã¤ãºæ´æ°ã®å®é¨ãã MATLAB ã§è©¦ãã¦ã¿ã¾ãããèªæ¸ä¼ã«åå ããªããèªã¿é²ãã¦ããã®ã§ãããååé¨åã¯æ®å¿µãªããåå ã§ããªãã£ãã®ã§ã復ç¿ã®æå³ã§èªã¿ç´ãã¦ãã¾ããæç§æ¸ 2.3 ç¯ã®å®é¨ã¯ã³ã¤ã³æããâ¦
å æ¥ã® PHP ã«ã³ãã¡ã¬ã³ã¹ 2015 ã§ãèæ± æ±é¾ããã«ãããPHP ããããããã©ã¼ãã³ã¹å¯¾æ±ºãã¨ããçºè¡¨ãããã¾ãããç§ã¯å½æ¥ã¯ä»ã®ã»ãã·ã§ã³ã«åå ãã¦ããã®ã§ãããå¦çç³»å é¨ã®ãã®ãããªè©±ã«ã¯èå³ããããå¾ãã YouTube ã§æ¥½ãã¾ãã¦ãããã¾ããâ¦
PHP Conference 2015 ã«åå ãã¦ãã¾ãããä»å¹´ã¯ 2000 人ãè¶ ããåå ç»é²ããããä¼å ´ã®å¤§ç°åºç£æ¥ãã©ã¶ PiO ã貸ãåã£ã¦ã®éå¬ã ã£ãããã§ããPHP ã®çã¿ã®è¦ªã§ãã Rasmus Lerdorf æ°ãã¯ããæµ·å¤ããã®æå¾ è¬æ¼ãå¤æ°ãããä½ãè´ãããç´åã¾ã§æ©ãâ¦
paiza ãªã³ã©ã¤ã³ããã«ã½ã³ Vol. 6+ ã«ææ¦ãã¾ãããã¦ã§ããã¼ã¸ã¯ãã¡ãã§ãã ããã妻ãæ¾æ±ï¼ãæ¾æ±Rubyä¼è°07åè³ åæä½æããã°ã©ãã³ã°ã³ã³ãã¹ãï½POH6+ä»åã¯ãæåºããã³ã¼ãã®ãã¤ãæ°ã表示ããã¦ããããããã©ãã ãçãã³ã¼ãã§åé¡ã解â¦
ä»»æã®è·é¢é¢æ°ãç¨ã㦠k-means æ³ã«ããã¯ã©ã¹ã¿ãªã³ã°ãè¡ãããã°ã©ã ãä½æãã¾ãããã³ã¼ãã¯ä»¥ä¸ã®ã¨ããã§ããMATLAB ã§å®è£ ãã¾ãããfminunc é¢æ°ãå©ç¨ãã¦ãããããå®è¡ã«ã¯ MATLAB æ¬ä½ã®ã»ãã« Optimization Toolbox ãå¿ è¦ã§ãã function [â¦
Canini ãã®è«æ*1ãèªãã§ã¿ã¾ãããLDA ã®é次å¦ç¿ã«ã¤ãã¦è¿°ã¹ãè«æã§ãããããã¯ã¢ãã«ã«ããçµ±è¨çæ½å¨æå³è§£æãã® 3.5.2 ç¯ã¯ããã®è«æã®æ¹æ³ã説æãããã®ã«ãªã£ã¦ãã¾ããä¸è¨ã®ã¦ã§ããã¼ã¸ã§è«æã® PDF ãã¡ã¤ã«ããã¦ã³ãã¼ãã§ãã¾ãã JMLâ¦
第5åããããã¯ã¢ãã«ã«ããçµ±è¨çæ½å¨æå³è§£æãèªæ¸ä¼ã§ãæç§æ¸ 3.5 ç¯ã®ãé次ãã¤ãºå¦ç¿ - ãµã³ããªã³ã°è¿ä¼¼æ³ã®å ´å -ããæ å½ãã¾ãããçºè¡¨è³æãå ¬éãã¾ãã é次ãã¤ãºå¦ç¿ - ãµã³ããªã³ã°è¿ä¼¼æ³ã®å ´å - from y-uti www.slideshare.netã¹ã©ã¤ãâ¦
R ã® stats ããã±ã¼ã¸ã§æä¾ããã¦ãã kmeans é¢æ°ã¯ãæ¢å®ã§ã¯ Hartigan-Wong ã®ã¢ã«ã´ãªãºã ãå©ç¨ãã¾ããé常㮠k-means (Lloyd ã®ã¢ã«ã´ãªãºã ) ã§ã¯ãåãã¼ã¿ç¹ãæãè¿ãã¯ã©ã¹ã¿ã«å²ãå½ã¦ãæä½ãç¹°ãè¿ãã¾ãããHartigan-Wong ã®æ¹æ³ã¯ããç´â¦
第10åãç¶ã»ãããããããã¿ã¼ã³èªèãèªæ¸ä¼ ã«åå ãã¦ãããã¤ãã®è¨èªã§ã® k-means ã®å®è£ æ¯è¼ã«ã¤ãã¦çºè¡¨ãã¾ãããçºè¡¨è³æãå ¬éãã¾ãã åè¨èªã® k-means æ¯è¼ from y-uti MATLAB, R, Python (scikit-learn, SciPy) ã® k-means ããããã調æ»ãâ¦
ãç¶ã»ãããããããã¿ã¼ã³èªèã第 9 ç« ã®ã¢ã«ã´ãªãºã ãå®è£ ãã¦ãæ··åæ£è¦åå¸ã®ãã©ã¡ã¼ã¿æ¨å®å®é¨ã試ãã¦ã¿ã¾ããä»åã MATLAB ã§å®è£ ãã¾ããã ãµã³ãã«ãã¼ã¿ã®çæ ã¾ããæç§æ¸ 9.5 ç¯ã«ãããã£ã¦ãã©ã¡ã¼ã¿ãè¨å®ãã¾ããåã¯ã©ã¹ã®äºå確çâ¦
Baum-Welch ã¢ã«ã´ãªãºã ã¯ãåæå¤ã«ãã£ã¦åæã®éç¨ãç°ãªãã¾ããåºåè¨å·ç³»åãè¤æ°ã®å±æ解ãæã¤å ´åã«ã¯ãåæå¤ã«ãã£ã¦ããããä¸ã¤ã®è§£ãæ±ã¾ãã¾ããã¾ããåæã«è¦ããå復åæ°ãåæå¤ã«ãã£ã¦å¤§ããç°ãªããã¨ãããã¾ããä»åã¯ãåæå¤ãå¤â¦
ååã«ç¶ãã¦ããç¶ã»ãããããããã¿ã¼ã³èªèãã®ã¢ã«ã´ãªãºã ãå®è£ ãã¾ããä»å㯠Baum-Welch ã¢ã«ã´ãªãºã ãå®è£ ãã¦ãé ããã«ã³ãã¢ãã«ã®ãã©ã¡ã¼ã¿æ¨å®ã試ãã¦ã¿ã¾ãã ååãã¢ã«ã´ãªãºã ã¾ããååãã¢ã«ã´ãªãºã ãå®è£ ãã¾ãã以ä¸ã®ããã«å®â¦
å æ¥ã第8åãç¶ã»ãããããããã¿ã¼ã³èªèãèªæ¸ä¼ ã«åå ãã¾ããã第 8 ç« ã®é ããã«ã³ãã¢ãã«ã«ã¤ãã¦è§£èª¬ãã¦ããã ãã¾ãããããã§ä»åã¯ãæç§æ¸ã«è¼ã£ã¦ãã Viterbi ã¢ã«ã´ãªãºã ãå®è£ ãã¦è©¦ãã¦ã¿ã¾ããMATLAB ã§å®è£ ãã¦ã¿ã¾ãããé·ç§»ç¢ºçã¨â¦
ãã®ä¸ã¶æã»ã©ãpaiza ãªã³ã©ã¤ã³ããã«ã½ã³ã¨ããã¤ãã³ãã§ã15 ããºã«ã解ãããã°ã©ã ã®ä½æã«ææ¦ãã¦ãã¾ãããä¸ããããç¤é¢ã解ãææ°ã®çãã競ãå½¢å¼ã§ããã¤ãã³ãã®ã¦ã§ããµã¤ãã¯ä»¥ä¸ã«ããã¾ãã Rena and Minami International Programmingâ¦
å°é¢¨ã®çµè·¯æ å ±ãé¡æã«ãã¦ãDynamic Time Warping (DTW) ãç¨ããæç³»åãã¼ã¿ã®é¡ä¼¼åº¦ã®è¨ç®ã試ãã¦ã¿ã¾ããDTW ã¯äºã¤ã®æç³»åãã¼ã¿ã®é¡ä¼¼åº¦ã測ãæ¹æ³ã®ä¸ã¤ã§ãè±èªçã® Wikipedia ã«ç°¡åãªèª¬æã¨å®è£ ä¾ãããã¾ãã Dynamic time warping - Wikipedâ¦
paiza ãªã³ã©ã¤ã³ããã«ã½ã³ã¨ããã¤ãã³ãã§ã15 ããºã«ã解ãããã°ã©ã ã®ä½æã«ææ¦ãã¦ã¿ã¾ãããã¤ãã³ãã®å ¬å¼ãµã¤ãã¯ãã¡ãã§ãã Rena and Minami International Programming Competition |Paiza Online Hackathon 5ã¤ãã³ãã§ã¯ãããããã決ããâ¦
NumPy ã®é åã«ã¯ãããã¼ããã£ã¹ãã£ã³ã°ã¨ããä»çµã¿ãããã¾ããããã¯ã大ããã®ç°ãªãå¤æ¬¡å é åå士ã®ç®è¡æ¼ç®ã«é¢ããä»çµã¿ã§ãè¦ç´ æ°ã 1 ã®æ¬¡å ããã£ãå ´åã«ãããæ¡å¼µããäºã¤ã®é åã®è¦ç´ æ°ãæãã¦æ¼ç®çµæãå¾ãã¨ãããã®ã§ããNumPy ã®ãâ¦
æ¨æ¥ã第87å PHPåå¼·ä¼ï¼ æ±äº¬ 㧠PHP ã® GC ã«ã¤ãã¦çºè¡¨ãã¾ãããçºè¡¨è³æãå ¬éãã¾ãã PHP ã® GC ã®è©± from y-uti PHP ã®å¦çç³»ã«å®è£ ããã¦ãããåç §ã«ã¦ã³ãæ¹å¼ã® GC ã¨å¾ªç°åç §ã«ãããã¿ã®ååã«ã¤ãã¦ãæ¯è¼çå¹³æã«èª¬æããã¤ããã§ããGC ã«â¦
çµ±è¨å¦ã®åéã«ãã³ãã¥ã©ã¨ããæ¦å¿µãããããã§ããå¹´æ«å¹´å§ã«å°ãåå¼·ãã¦ã¿ã¾ãããã©ããããå¤æ¬¡å ã®ç¢ºçåå¸ã«ã¤ãã¦ãå次å ã®å¨è¾ºåå¸ãããæ§è³ªãæºããé¢æ° (ã³ãã¥ã©) ã§çµã¿åãããã¨çµååå¸ãå¾ãããã¨ããã話ã®ããã§ããå©ç¨ããã³ãã¥â¦