ãã¼ã¿åæã¬ãåå¼·ã¢ããã³ãã«ã¬ã³ãã¼ 15æ¥ç®ã
æå¼·ã®ã´ã¼ã«ãã³ã¯ãã¹ãããã¯æãå²ããããã«ç§»åå¹³åç·ãå¼ããã¨ãã®äº¤ç¹ ã§ããã
ä¸èª¬ã«ã¯ããã¯ãã«ã«åæã¯ããã£ã¼ãã«ãã¹ã¦ã®æ å ±ãè©°ã¾ã£ã¦ããã¨ããåæãããããã§ããã ã¨ãããã¨ã¯ããã¼ã¿ããæé©ãªç§»åå¹³åãæ±ããããã®ã§ã¯ï¼
ã¨ããããã§ãä»åã¯ãã¤ãºæé©åã®åå¼·ãããã¦ãæé©ãªç§»åå¹³åã®windowå¹ ããã¼ã¿ããåºãã¦ã¿ããã¨æãã¾ãã
â»å§ãã«å®é¨ãè¼ãã¦ã¾ããçè«ãæ°ã«ãªãæ¹ã¯çè«ã®ã¨ããããè¦ãã¨è¯ãã§ãããã [:contents]
ã´ã¼ã«ãã³ã¯ãã¹/ãããã¯ãã¹ã¨ã¯ï¼
æ¨æ¥ã®è¨äºãã¡ãã£ã¨ã ã復ç¿ã
é·æ/çæ2æ¬ã®ç§»åå¹³åç·ãå¿ è¦ãªããã§ãã
ãå®é¨ã
å®é¨è¨å®
äºã¤ã®ç§»åå¹³åç·ã使ã£ã¦ã売ãè²·ããå¤æããã·ã¹ãã ãããã¨ä»®å®ãããããã¤ã®åãã¯ãã
- 2015å¹´1æ4æ¥ãè³ç£100æ ª&100ä¸åããã¹ã¿ã¼ã
- ãã¼ã¿ã¨ãã¦ä½¿ãã®ã¯3å¹´åã®æ¥çµå¹³å
- ã´ã¼ã«ãã³ã¯ãã¹ã§è²·ã(å ¨è³ç£)ããããã¯ãã¹ã§å£²ã(å ¨æ ª)
- 2017/12/13æç¹ã§æ ªãå ¨é¨å£²ã£ã¦ãç·è³ç£ãè¨ç®
- è©ä¾¡å¤ã¯ãä½%è³ç£ãå¢ããã*1
ã¤ã¾ããã·ã°ãã«ã«ãããã¦å£²ã注æãè²·ã注æããã¦ãããè³ç£ã®å¢åãè©ä¾¡ã«ãªãã æ¨æ¥ä½ã£ãã¢ã«ã´ãªãºã ã§ãã´ã¼ã«ãã³ã¯ãã¹ã»ãããã¯ãã¹ãçºè¦ã§ããããã«ãªã£ã¦ããã®ã§ãããã«å£²ãè²·ããå ¥ããã ããããã¿ã¤ãã³ã°ã§å£²ãè²·ããããæ³¢ãæãããããã¨ããã²ã¼ã ã
æé©å
æé©åã«ã¤ãã¦ã¯æå¾ã«çè«çãªèª¬æãç°¡åã«ã¤ãã¦ããã®ã§ããããåç §ããã¤ãºçæé©åãç¨ãããä¸è¨ããã®æã«æ±ããã®ã®è¨å®
è¦ç´ | é¸æ |
---|---|
Acquisition function | EI (Acqusition functionã®åè) |
kernel | Mattern52 |
ã¤ãã¬ã¼ã·ã§ã³åæ° | 50 |
å°ãå®è£ ã¯githubã«ã¾ã¨ãã¦ããã
çµæã¯ã»ã»ã»ï¼
ããããã¤ãºæé©åã§è¨ç®ãã¦ã¿ãçµæã©ããªã£ããï¼ï¼ ã¾ãã¯å³ã御覧ãã ããã
æé©åãã¦ã¿ãçµæã®ãå¹³åãæ¨æºåå·®ãacquisition funciton *2
試è¡ãç¹°ãè¿ãã°ãä¸çªå³ã®å³ã®æ¿ãé»è²ã®é¨åããé¸ã¶ã¹ãæé©ãªç¹ã¨ãªã£ã¦ããã¯ãã§ãã
ãã®çµæã
window1=91, window2 = 208ã§ç§»åå¹³åãåãã¨ãæãå²ãã
ã¨ããçµæãå¾ããã¨ãã§ãã¾ãããã¡ãªã¿ã«ãã®ã¨ãã50%è³ç£å¢ã§ããã3ã¶æã¨7ã¶æã§ç§»åå¹³åã§ããï¼ï¼
ã¡ãªã¿ã«ããã®å ´åã«ç§»åå¹³åãå¼ããããããªãã
ããã¾ã売買ããªãã»ããå²ããã¨ãããã¨ããªï¼ã¡ãªã¿ã«ã¾ã 売ãã®ã¿ã¤ãã³ã°ã¯æ¥ã¦ããªãããã§ãã ããã§ã®ã¯ãã¹ãã¤ã³ãã§ã売ãã¨ããã®ããªï¼ãã¼ã¿ãåæããããããã£ã¦ãï¼ï¼
ãå®è£ ã
GPyOpt/GPy
ä»åã¯ãå®è£
ã«GPyOpt
ãå©ç¨ãããã¨ã«ãããGPyOpt
ã¯ãã¬ã¦ã¹éç¨è¨ç®ã©ã¤ãã©ãªGPy
ãå©ç¨ãã¦ãã¤ãºçæé©åãè¡ãã©ã¤ãã©ãªããªã®ã§ãã©ã¡ããã¤ã³ã¹ãã¼ã«ãã¦ããå¿
è¦ãããã
pip install -U scipy #scipyãææ°çã«ãã¦ãã pip install GPy pip install gpyopt
â»å®è£ ã¯é·ããªãã®ã§ãè¨äºã§ã¯å²æãã¾ãgithubãåèã«ãã¦ãã ãããè©ä¾¡é¢æ°ãä½ã£ã¦ãGPyOptã«æãå ¥ãã¦ããã ãã§ãï¼(day15)
ãçè«ããã¤ãºçæé©åã¨ã¯ï¼
èéã®ä¸ããå®ãæ¢ã
ãã¡ãã®è¨äºãåãããããã£ãã§ããã¬ã¦ã¹éç¨ã«å¾ããµã³ãã«ã¨ãã¦ã¢ãã«åãã¦æé©åãè¡ããããªææ³
é£ãããã¨ã¯ä¸è¨ã®åèã«è²ãã¨ãã¾ããããã©ããåãããããã¦ããè³æã§ãï¼
ãã£ããã¨ãã¤ã³ãã ãã
æ®éã®å¼ãªãããã®ã§ããããã¨ãã°ãxããã©ã¡ã¼ã¿ãf(x)ãä½ãããã®ã·ãã¥ã¬ã¼ã¿ã®å ´åã ã¾ãf(x)ã®å½¢ãå®å¼åãããã¨ãé£ããã§ããã³ã¬ããã©ãã¯ããã¯ã¹ã¨ããã¾ããããã«ãä¸åä¸åã®è©ä¾¡ã«ãã¡ããã¡ãæéãããã**ã¨ããã¨ãxãã¡ãã£ã¨ãã¤å¤ãã¦å ¨æ¢ç´¢ãªã©ãå³ããã§ããã
ãã¨ãã¦è¨ããªããèéã®ä¸ãããå½ã¦ããªãåãæãè¿ãã¦ä¸ã«ç ãå®ãæ¢ãã¤ã¡ã¼ã¸ã§ããéæ¹ããªãã§ããã ãã®çµ¶æçãªç¶æ³ã§ããè³¢ãç¯å²ãçµã£ã¦ãããã¨ããã®ãããã¤ãºæé©åã§ãã
é¢æ°è¿ä¼¼
ãã¤ãºæé©åãç¨ããã¨ãå¹³åã¨æ¨æºåå·®ã®ç¢ºçåå¸ãåºã¦ãããç¹ãä¸ããããå ´åã¯ãã®å¤ã«åæããã®ã§èªä¿¡ãæã£ã¦ããã ã¨ããããããã以å¤ã®å¤ã¯ãã¦ãã£ã½ããªã®ã§ãç¹ä»¥å¤ã®å ´æã¯èªèº«ããªããªã(âåæ£ã大ãããªã)ãã¤ã¾ããã°ã©ãã¯ä¸è¨ã®ããã«ãªãã
A Tutorial on Bayesian Optimization ...ãããæ°ããç¹ãä¸ããããã¨ãèªä¿¡ã®ãªãé å(éããã¹ã¯ãããé å)ãæ¸ã£ã¦ãããã¨ã確èªã§ããã
æé©åã®ããã®æéãAcquisition function
ã¾ããä¸ã®å³ã®Acquisition Functionã¨ããã®ããæé©åã®ããã«æ¬¡ã®ç¹ãæ¢ãæéã¨ãªãã acquisitioné¢æ°ã«ã¯ããããªç©ãè¨å®ã§ããããEIãUCBãªã©ã代表çãUCBã®å¼ã¯ãå¹³åã¨æ¨æºåå·®ã®ç¢ºçåå¸ã§ãä¸è¨ã®ããã«ãããããã
ãã®é¢æ°ã®æ大å¤ã次ã®ç¹ã«é¸ã¶ã 第ä¸é ç®ã®ãè¿ä¼¼é¢æ°ãªã®ã§ãã®æ大å¤ãé¸ã¹ã°ããããèªä¿¡ã®ãªãã¨ãããæ¢ãããããã第äºé ã§ãã*3ãããããæ°ããç¹ãé¸ãã§ãã¾ãé¢æ°è¿ä¼¼ãã¦ãç¹°ãè¿ãã®ãããã¤ãºçæé©åã§ãã
注æ
ã¨ã¦ãå¼·åãªææ³ã ããä¸è¨ãããã¯ã¢ã«ã´ãªãºã ä¸ã®æ¬ ç¹ã¨ãã¦æ³¨æãããã¨ããã
- é¢æ°è¿ä¼¼ã«éè¡åè¨ç®ãå ¥ãã®ã§(ãã¼ã¿æ°)3ãªã¼ãã¼ã§è¨ç®ãéããªã£ã¦ãã
- ã©ããããé¢ããç¹ã§ã¯åæ£ã大ãããªãã®ã§ã次å ã大ãããªãã¨**é¸ã°ããç¹ã端ã£ãã«å¯ã
â»ä»ã§ã¯ããã解決ãããããªããããªå·¥å¤«ããªããã¦ããã£ã½ãã
ã¾ã¨ã
å®é¨çã«æé©åãè¡ã£ã¦ã¿ã¾ãããããä¸å¹´ç¨å¥½æ¯æ°ãªã®ã§ãæ³¢ãã¤ããã°ããªãå²ããã£ã½ãã§ããããã¨ã¯ãã£ã¼ãã¨èªåã®ä½ã£ãã¢ã«ã´ãªãºã ãä¿¡ããã®ã¿ï¼ï¼
ã¾ãããã¤ãºçæé©åã¯ãæ¢ç´¢ã¨æ´»ç¨ã®ãã©ã³ã¹æ¬¡ç¬¬ã§ã¯ãå±æ解ã«é¥ãå¯è½æ§ãããã®ã§ã試è¡ã«ãã£ã¦ã¯è§£ãå¤ãããã¨ãããã¾ããå®å®ãããããã«ã¾ã è²ã ã¨æ¹è¯ã§ããã¨æã£ã¦ãã¾ãã®ã§ã試è¡é¯èª¤ãç¹°ãè¿ãã¦ããã¾ããããã¡ãã£ã¨ãã¹ããããªãã¨ãããªãããã ãªãã
ã¨ããããæç³»åãã¼ã¿ã¯ãã®ãããã§ä¸æ¦ç½®ãã¦ããã¦ãææ¥ã¯æ·±å±¤å¦ç¿ã«ã¤ãã¦è§¦ãããã¨æã£ã¦ãã¾ããããã§ã¯ã¾ãææ¥ï¼
*1:ææ°æã¯èããªã
*2:å®è£ ä¸æå°å¤ã«ãããã£ãã®ã§ãè©ä¾¡å¤ã«-1ãããã¦ãã
*3:ããããæ¢ç´¢ã¨æ´»ç¨ã®ãã¬ã¼ããªã