TensorFlowã§ã®Softmaxå帰ã®å®è£ ã»å¯è¦åã»èå¥å¨ã®é¨ãæ¹
æ¦è¦
å
æ¥ã®è¨äºã§ã¯æ·±å±¤å¦ç¿ç¨ã®èªä½PCãæ§ç¯ããæ¹æ³ã«ã¤ãã¦æ¸ãã¾ããã
ããããã¯ä¸»ã«TensorFlowãç¨ãã¦ãã¾ãã¾ãªã¢ãã«ãå®è£
ãã¦ãããã¨èãã¦ãã¾ãã
ã¾ãã¯åºæ¬çãªã½ããããã¯ã¹å帰ï¼ä»ã¯ã©ã¹ã®ãã¸ã¹ãã£ã¯ã¹å帰ï¼ãå®è£
ããæåãªMNISTãã¼ã¿ã»ããã«ã¤ãã¦ææ¸ãæ°åã®èå¥ãè¡ãã¾ããããããã§ããã°ããã£ã¼ããªãã¥ã¼ã©ã«ãããã¯ã¼ã¯ãèªç¶ãªæ¡å¼µã¨ãã¦ç°¡åã«å®è£
ãããã¨ãå¯è½ã§ãã
ãã®è¨äºã§ã¯ãTensorFlowã®å
¬å¼ã®ãã¥ã¼ããªã¢ã«*1ãåèã«ãã¤ã¤ã
- ä¸è¬çãªãã¥ã¼ã©ã«ãããã¯ã¼ã¯ã¸ã®æ¡å¼µã容æã«ãããã¨
- TensorFlowã§éè¦ã¨ãªãComputational Graphã®æ¦å¿µãæ確ã«ããGraphã®æ§ç¯ã¨å®è¡ãããããããåé¢ãããã¨
- å¼·åãªå¯è¦åãã¼ã«ã§ããTensorBoardã®ä½¿ãæ¹ãåæã«ç解ã§ããããã«ãããã¨
- Computational Graphä¸ã§ã®æ©è½ã®ã¾ã¨ã¾ããæ確ã«ããããã«åå空é(name scope)ãé©åã«è¨å®ãããã¨
ãæèããå®è£ ãè¡ãã¾ãããã¾ããããã ãã§ã¯ã¤ã¾ããªãã®ã§ã
- éã¿ã®å¯è¦å
- å¦ç¿æ¸ã¿ã®èå¥å¨ãã ã¾ã
- èå¥å¨ãèªä¿¡ãæã£ã¦åé¡ãããµã³ãã«ã»ã©æ£ççãé«ããæ¤è¨¼ãã
ã¨ãã£ãå®é¨ãè¡ã£ã¦ãã¾ãã
ãã®ããã°ã®å
容ã¯ãJupyter Notebook (IPython Notebook) å½¢å¼ã§ãå
¬éãã¦ãã¾ãã
Jupyter Notebook Viewer
ç®æ¬¡ï¼
- æ¦è¦
- 1. MNISTãã¼ã¿ã»ããã®ç¨æ
- 2. Softmax Regressionã®å®è£
- 2.1 æºå
- 2.2 Computational Graphã®æ§ç¯
- 2.3 Computational Graphã®å®è¡
- 3. TensorBoardã«ããå¯è¦å
- 3.1 TensorBoardã®èµ·å
- 3.2 TensorBoardã®ç»é¢ã®ã¹ã¯ãªã¼ã³ã·ã§ãã
- 4. éã¿ã®å¯è¦å
- 5. èå¥å¨ãã ã¾ãã¦ã¿ã
- 6. èªä¿¡ãããã»ã©ããå½ããã®ã
- 7. ãããã«
深層å¦ç¿ç¨PCãå人ã§èªä½ããããã®é¨åé¸å®ã¬ã¤ã(Amazonã»å®åºè)
æ¦è¦
趣å³ã§ãã£ã¼ãã©ã¼ãã³ã°ãè¡ãããã«èªä½PCãçµãã§ã¿ã¾ããã
èªä½ã®ã¡ãªããã¨ãã¦ã¯ã
- çµã¿åããã®èªç±åº¦ãé«ãããã£ã¼ãã©ã¼ãã³ã°åãã®æ§æãå®ç¾ã§ãã
- å¿ è¦ååãªæ§æãå¯è½ãªãããç¡é§ããªãå®ã
- é¨åã®é¸å®ãéãã¦ãã¼ãã¦ã§ã¢ã«é¢ããç¥èãæ·±ã¾ã
- çµã¿ç«ã¦ã楽ãã
ãªã©ãæãããã¾ãã
ããããªãããCPUããã¶ã¼ãã¼ããã¡ã¢ãªçã®é¨åã«ã¯æ§ã
ãªè¦æ ¼ããããé¨åã®é¸å®ã«ã¯æ£ããç¥èãå¿
è¦ã§ãããããå
±æããã®ããã®è¨äºã®ç®çã§ãã
è³¼å
¥ã«ããã£ã¦ã¯ãAmazonã§èª¿ã¹ãã»ããç§èåã®è¤æ°ã®å®åºè*1ããããã®ãªã³ã©ã¤ã³ã¹ãã¢ã調æ»ãã¾ããã
å¤ãã®å ´åAmazonãå®ãã¨ãããã¨ãåããã¾ããããä¸é¨ã¯å®åºèããªã³ã©ã¤ã³ã¹ãã¢ã®æ¹ãå»ä¾¡ã§ãããæ¬è¨äºã§ã¯ãã¹ã¦ã®é¨åã®è³¼å
¥å
ã¨è³¼å
¥ä¾¡æ ¼ãè¨ãã¾ã*2ãç®å®ã«ãã¦ãã ããã
çµæã¨ãã¦ãææ°ã®GPUã§ããGTX 1080 Tiï¼10ä¸åãããï¼ãæè¼ããPCãã»ã¼20ä¸åã¡ããã©ï¼ç¨è¾¼ï¼ãã£ã¹ãã¬ã¤ã»ãã¼ãã¼ã代込ï¼ã§ä½ããã¨ãã§ãã¾ããã
ç®æ¬¡ï¼
- æ¦è¦
- ã©ã®ãããªé çªã§é¸ã¶ï¼ã大ã¾ããªæµã
- GPU
- ã¹ããã¯
- OEMã¡ã¼ã«ã¼ã¨Founders Edition
- é¸ãã ãã®
- CPU
- ã¹ããã¯
- é¸ãã ãã®
- ã¡ã¢ãª
- é¸ãã ãã®
- ãã¶ã¼ãã¼ã
- é¸ãã ãã®
- é»æºã¦ããã
- é»å
- å¤æå¹ç
- é¸ãã ãã®
- SSD
- é¸ãã ãã®
- ã±ã¼ã¹
- é¸ãã ãã®
- ãã£ã¹ãã¬ã¤
- é¸ãã ãã®
- ãã¼ãã¼ãã»ãã¦ã¹
- é¸ãã ãã®
- ããã
- é¸ã³æ¹
- è²»ç¨ã¾ã¨ã
- è³¼å
¥å
ã»è³¼å
¥ä¾¡æ ¼
- GPUï¼MSI GeForce GTX 1080 Ti Founders Edition ã°ã©ãã£ãã¯ã¹ãã¼ã VD6289
- CPUï¼Intel CPU Core i7-6700 3.4GHz 8Mãã£ãã·ã¥ 4ã³ã¢/8ã¹ã¬ãã LGA1151 BX80662I76700 ãBOXã
- ã¡ã¢ãªï¼TeamãTED416GM2133C15DC01-ASã16GBï¼8GBÃ2ï¼ãDDR4-2133対å¿ããã¹ã¯ããã ã¡ã¢ãªã¢ã¸ã¥ã¼ã«ã2ã»ãã
- ãã¶ã¼ãã¼ãï¼GIGABYTE Intel H170ãããã»ããæè¼ ATX ãã¶ã¼ãã¼ãGA-H170-HD3
- é»æºã¦ãããï¼ç人å¿å STANDARDã·ãªã¼ãº 80 PLUS Silver 650W ATXé»æº KRPW-AK650W/88+
- SSDï¼Crucial [ Micron製 ] å èµSSD 2.5ã¤ã³ã MX300 275GB ( 3D TLC NAND / SATA 6Gbps / 3å¹´ä¿è¨¼ )æ£è¦ä»£çåº CT275MX300SSD1
- ã±ã¼ã¹ï¼SAMA å·¦å´é¢ããã«ã¢ã¯ãªã«ããã«(éæ)ã®ATXãã¶ã¼å¯¾å¿ããã«ã¿ã¯ã¼PCã±ã¼ã¹ JAX-02W (é»é kurosuke)
- ãã£ã¹ãã¬ã¤ï¼ãAmazon.co.jpéå®ãASUS ãã¬ã¼ã ã¬ã¹ ã¢ãã¿ã¼ 21.5ã¤ã³ã IPS èã7mmã®ã¦ã«ãã©ã¹ãªã ãã«ã¼ã©ã¤ãè»½æ¸ ããªãã«ã¼ããªã¼ HDMI,D-sub ã¹ãã¼ã«ã¼ VZ229H
- ãã¼ãã¼ãã»ãã¦ã¹ï¼ã¬ããã»ã¸ã£ãã³ ThinkPad ãã©ãã¯ãã¤ã³ãã»ãã¼ãã¼ã - æ¥æ¬èª 0B47208
- åè¨
- çµã¿æãæ¡
- è³¼å
¥å
ã»è³¼å
¥ä¾¡æ ¼
- å¸è²©ã®æ·±å±¤å¦ç¿ç¨PCã¨èªä½ã¨ã®æ¯è¼
- åèã«ãªãæ¬
*1:ç§èåå·¡ãã«ã¯ä»¥ä¸ã®ãªã³ã¯ãåèã«ãªãã¾ããï¼ ASCII.jp:【2016GW企画】GWだアキバに行こう! アキバPCパーツショップ巡り (1/6)
*2:ãã¡ããä¾¡æ ¼ã¯æã å»ã ã¨å¤åããã®ã§ãåèç¨åº¦ã«!
å½æã«ã¯ä½è²ããã使ããã¦ããã®ãï¼ - Pythonã§è²ç¸ã®é »åº¦åå¸ã調ã¹ã¦ã¿ã
æ¦è¦
Wikipediaãè¦ãã¨206ã«å½ã®å½æãæ²è¼ããã¦ãã¾ãããå½æã«ã¯ã©ã®ãããªè²ã使ãããå¾åã«ããã®ã§ããããã
ã±ã£ã¨è¦ã§ã¯åè²ç³»ã®æ´¾æãªè²ãå¤ããããªâ¦ï¼
国旗の一覧 - Wikipedia
å®éã¯ã©ããªã®ããç»åå¦çã«ãã£ã¦èª¿ã¹ã¦ã¿ã¾ããã
å
·ä½çã«ã¯ã
- Python + Beautiful Soupã«ããã¹ã¯ã¬ã¤ãã³ã°ã§å½æç»åãåå¾
- Python + OpenCVã«ããç»åå¦çã§è²ç¸ã®é »åº¦åå¸ãè¨ç®
- Javascript + Canvasã«ãã£ã¦é »åº¦åå¸ãåãããããå¯è¦å
ã¨ãããã¨ãè¡ãã¾ãã
ç®æ¬¡ï¼
- æ¦è¦
- æ¹æ³ã»çµæ
- åºæ¬çãªæ¹é
- è²ç¸
- é »åº¦ã®å®ç¾©
- Pythonã«ããã¹ã¯ã¬ã¤ãã³ã°
- OpenCVã«ããç»åå¦ç
- Javascriptã«ããé »åº¦ã®å¯è¦å
- åºæ¬çãªæ¹é
- èå¯
- ã½ã¼ã¹ã³ã¼ã
- Pythonï¼ã¹ã¯ã¬ã¤ãã³ã°ã»OpenCVã»ãã¡ã¤ã«åºåï¼
- HTML, Javascriptï¼å¯è¦åï¼
- ãããã«
- é¢é£
ãã·ã¼ã·ã¥ãã¹ã®ç¥è©±ããå¶ç¶ã®é³æ¥½ãã»ã - 2016å¹´3æã«èªãã æ¬ã¾ã¨ã
ã¯ããã«
ã涼風ã®ä¸éãæ±ã®è¸çºãâ¦â¦ããã¨å ±ã«æ¶ãå»ãçèã®åå¨ãâ¦â¦ããããçèã¯ãã®ã¨ããã£ã¨ãæ¬è³ªçãªåããããã人ã ã®ä¿¡ãã¦ããããã¾ããªç¸å¯¾çãªåå¨æè¦ã®ä¸çãããã®è¦ããªãéããæ¯åã§åã¿ç ããä½ã対象ã®è¦ããªããä¸ã¤ã®éæç¡æ¯ãªåã®ç´ç²æè¦ã«å¤ããã®ã§ããããã¯ãããã«ã¯çèããåå¨ãããç§ã¯éæãªå ãã®ãããªãåã®æè¦ã®åªä¸ã«ãããã
2016å¹´3æã«èªãã 19åã§ãã
ä»æã¯ãæµ·å¤æå¦ããè©è«ã»ã¨ãã»ã¤ããçç³»ã£ã½ãæ¬ãã®ï¼ã¤ã«åãã¦ç´¹ä»ãã¾ãããã¤ãã¨æ¯ã¹ã¦è©è«ãå
å®ãã¦ãã¾ããã
åæ¬ã«ã¤ãã¦ãã¿ã¤ãã«ã»ãªã³ã¯ã»èªæ¸ã¡ã¼ã¿ã¼ã«æ¸ããææ³ï¼ä¸é¨è¿½å ã»ä¿®æ£ããã»éã§ãã¾ã調ï¼ã®é ã«è¨ãã¾ããæ°ã«å ¥ã£ãæã®å¼ç¨ããâââ
ãååããéåã¨ã¯ä½ãããå¤éé£è¡ãã»ã - 2016å¹´2æã«èªãã æ¬ã¾ã¨ã
ã¯ããã«
2016å¹´2æã«èªãã 17åã§ãã
ä»æã¯æµ·å¤æå¦ãçç³»ã£ã½ãæ¬ãã¨ãã»ã¤ã»æ¥æ¬æå¦ã®3åºåã«åãã¦ç´¹ä»ãã¾ãã
ãã¹ãã¯ãååããå°è±¡ãå¼·ããã¦ãã°ããä»ã®å°èª¬ãé ã«å
¥ã£ã¦ãããçç³»ã£ã½ãæ¬ãé©å½ã«èªãã§ãã¾ããã
åæ¬ã«ã¤ãã¦ãã¿ã¤ãã«ã»ãªã³ã¯ã»èªæ¸ã¡ã¼ã¿ã¼ã«æ¸ããææ³ï¼ä¸é¨è¿½å ã»ä¿®æ£ããã»éã§ãã¾ã調ï¼ã®é ã«è¨ãã¾ããæ°ã«å ¥ã£ãæã®å¼ç¨ããâââ
客ã®æ¥åºããæéééãææ°åå¸ã«ãªãç´æçãªçç±ã¨ãåå¸ã®å°åºæ¹æ³
ã¯ããã«
ä½ããã®ã¤ãã³ããã©ã³ãã ã«çºçããï¼ãã¢ã½ã³éç¨ã¨ããï¼ã¨ãããã®çºçééã¯ãææ°åå¸ãã¨ãã確çåå¸ã«å¾ããã¨ãç¥ããã¦ãã¾ãã
ä¾ãã°ã1åãããã«2人ã®å®¢ãæ¥ãåºã«ããã¦ã¯ãæ¥å®¢ã®æéééãå¹³å1/2 [å]ã®ææ°åå¸ã«å¾ãã¾ãã
ã§ãã©ããã¦ãããªåå¸ã«ãªãã®ã§ããããï¼
æ°å¼ãã»ã¨ãã©ä½¿ããããããµããªèª¬æã«ãã£ã¦ç´æçã«ç解ãã¦ã¿ã¾ãããã
å¾åã§ã¯ããå°ãçé¢ç®ã«ãªããçºçééãå³å¯ã«ææ°åå¸ã«ãªããã¨ã示ãã¾ãã
å®ã¯ããã©ã³ãã ãªã¤ãã³ãã®çºçã¯ãã¢ã½ã³éç¨ã¨å¼ã°ãããã®çºçé »åº¦ã¯ãã¢ã½ã³åå¸ã«å¾ãããã¨ãç¥ããã¨ãããã¤ãã³ãã®çºçã®ä»æ¹ãæéçã«ä¸æ§ã§ãããã¨ããæ¡ä»¶ã ãããææ°åå¸ãå°ãã¦ãã¾ãã®ã§ãï¼
çµ±è¨ã®æç§æ¸ã«ããã¾ãæ¸ããã¦ããªããã¨ãå¤ãã®ã§ãããã«ç´¹ä»ãã¾ãã
- ã¯ããã«
- ãããµããªèª¬æ
- ææ°åå¸ã¨ã¯ãªã«ã
- ãªãã¤ãã³ãã®çºçééãææ°åå¸ã£ã½ããªãã®ã
- å調æ¸å°ã«ãªãã¯ã
- ææ°åå¸ã£ã½ããªãã¯ã
- ãããµããªèª¬æã®ã¾ã¨ã
- çé¢ç®ãªèª¬æ
- ç¡è¨æ¶æ§ãæã¤ãªãææ°åå¸ã§ãã
- ãã¨ã«ãªãäºå®ã¨ç¡è¨æ¶æ§ã®æ¡ä»¶
- æ°å¼ã«ãã表ç¾
- 極éãã¨ããå¾®åæ¹ç¨å¼ãå°åº
- å¾®åæ¹ç¨å¼ã解ããææ°åå¸ãå¾ã
- ç¡è¨æ¶æ§ãæã¤ãªãææ°åå¸ã§ãã
- ã¾ã¨ãã»ãããã«
åæ²ã®æ¥½èãã¼ã¿ãMusicXMLå½¢å¼ã§å ¥æããããã°ã©ã ã§å¯è¦åããæ¹æ³
ã¯ããã«
æ§ã
ãªæ²ã®æ¥½èããã¼ã¿ã¨ãã¦æ±ããã楽ãããã ã¨æãã¾ãããï¼
ãã¨ãã£ã¦æåã§å
¥åããã®ã大å¤ã§ããã©ããã§ãã¦ã³ãã¼ãã§ããã¨å¬ããâ¦
調ã¹ã¦ã¿ãã¨ãããã¯ã©ã·ãã¯é³æ¥½ã®æ¥½èãã¼ã¿ã®å¤ããCC Zeroã©ã¤ã»ã³ã¹ã§å ¬éããã¦ãããã¨ãåããã¾ããããã®è¨äºã§ã¯ã
- 好ããªæ²ã®æ¥½èãã¼ã¿ãæ¤ç´¢ã»ãã¦ã³ãã¼ãããæ¹æ³
- 楽èãã¼ã¿ã®ãã¡ã¤ã«å½¢å¼ã»è§£ææ¹æ³
- Pythonã使ã£ã¦æ¥½èãã¼ã¿ãããã°ã©ã ä¸ã®é åã¨ãã¦åãè¾¼ãæ¹æ³
- åãè¾¼ãã 楽èãã¼ã¿ãã°ã©ãã§å¯è¦åããæ¹æ³
ãç´¹ä»ãã¦ãã¾ãã
ç®æ¬¡
- ã¯ããã«
- MusicXMLãã¡ã¤ã«ã®ãã¦ã³ãã¼ã
- MusicXMLãã¡ã¤ã«ã®å±é
- æ¡å¼µåã.mxlãã.zipã«å¤æ´
- 解å
- 確èª
- MusicXMLã®å
容
- ã©ããéè¦ã
- ãã¼ããªã¹ã
- ãã¼ã
- 1. <measure number="1" width="***">ï¼å°ç¯
- 2. <attributes>ï¼èª¿ã»æåã»é³ç¬¦ã®æå°é·ããè¦å®
- 3. <note>ï¼é³ç¬¦ãä¼ç¬¦
- 3. <backup>ï¼æéã®å·»ãæ»ã
- Pythonããã°ã©ã ã§æ±ãæ¹æ³
- ããã¾ããªæµã
- 使ãéå ·
- ã½ã¼ã¹ã³ã¼ã
- è¦ç¹
- å®å ¨ç
- ä»å¾ã®æ´»ç¨
- è³æã»é¢é£è¨äº