2023-02-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¯ããã« èãã¦èãã¦ï¼ nikkieã§ãã ã¿ã¤ãã«ããã¹ã¦ã§ãã 3/9(æ¨)ã®ç¬¬29å MLOps åå¼·ä¼ã§ç»å£ã®æ©ä¼ãããã ãã¾ããã ç®æ¬¡ ã¯ããã« ç®æ¬¡ MLOpsåå¼·ä¼ 3/9(æ¨) 第29å MLOps åå¼·ä¼ çµããã« P.S. ãããã£ã¼ã«ã®ç§å¯ MLOpsåå¼·ä¼ MLOps - connpassâ¦
ã¯ããã« ä¸éã®æ©ãã¯äººããããã ãããnikkieã§ã1ã Pythonã®loggingã«ã¤ãã¦ãå®å ¨ã«ç解ãããã¾ã§ç解ãæ·±ãã¾ããï¼ããã¯ã¨ã³ã¸ãã¢ãã¼ã ã§ãããåãããªããªããã¤ã§ãï¼ã ãã«ã¼ããã¬ã¼ãã¨ããé層æ§é ãã¨ããåããã¨ãã®ã³ã°ã®ã³ã¼ãã®è¦â¦
ã¯ããã« ãã¾ã幸ãï¼ nikkieã§ãã ä¹ ãã¶ãã®ã·ãªã³ã»ããã¸ã§ã¯ãã§ãã ã·ãªã³ã»ããã¸ã§ã¯ã meets 話é¡ã®ãã£ããAIãChatGPTï¼ï¼â¤ï¸ ç®æ¬¡ ã¯ããã« ç®æ¬¡ çµè«ï¼ããã¼ã⪠ChatGPTã¨"ãé£ã®å¤©ä½¿æ§"ã話ããã®ã§ãï¼ ããã¯çªç¶ãã£ã¦ãã å®è£ ã®æ¦ç¥ â¦
ã¯ããã« ãããã¯ãã£ã¦ãã®ãChatGPTï¼1 nikkieã§ãã å æ¥ãåãä¸ãã¾ããããChatGPTããããã§ãããï¼ ã¢ããªã±ã¼ã·ã§ã³ã«ããã·ã¥ã¢ãããã¦ããä¾ãè¦ãããããã«ãªããããã°ã©ã ããã©ããã£ã¦ChatGPTã®APIãå©ããã«èå³ãæã¡ã¾ããã ãã®è¨â¦
ã¯ããã« çãã¯Yesã§ããï¼ nikkieã§ãã ãµã¨ãã£ããããããPython使ãã¯çpip freeze > requirements.txtããã®ãæç®èª¿æ»ãã¾ããã ããã£ããã¨ãç¾å¨ã®ããã¯ã¢ããã¨ãã¦ã¾ã¨ãã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ ãã£ãã 念ã®ããã®ããã¨ãã æ«å®çãªâ¦
ã¯ããã« è¸ã®ä¸ã«ãããã® ãã¤ãè¦ããªããªããã®âªãnikkieã§ãã XMLããã¼ã¹ããã©ã¤ãã©ãªã®1ã¤ãxmltodictãç¥ãã¾ããã ãã®åã®éããXMLãè¾æ¸ï¼dictï¼ã«å¤æãã¦ãããã©ã¤ãã©ãªã§ãåå¨ãç¥ã£ãæããããè¸ã®é«é³´ããæ¼ããããã¾ãã1ï¼ è§¦ã£â¦
ã¯ããã« ç§å¯ã¯ããæå¾ã«æãããããã ããnikkieã§ãã ä¹ ã ã«ãã¢ã¤ã®æ声ãè´ããã¦ããèªã£ã¡ããã¾ãããã 2022å¹´7æã®ã¢ããã³ãã«ã¬ã³ãã¼ã¶ãã ã£ãããããã§ãããï¼1 ä»é±æ«1æ¥éãã®å¾©æ´»ä¸æ ãããã¾ãã¦ãããã«åããã¦ã¾ã èªã£ã¦ããªãã£â¦
ã¯ããã« ãããã¯ãã£ã¦ãã®ãChatGPTï¼1 nikkieã§ãã OpenAIçºã話é¡ã®ãã£ããAIãChatGPTã é ãã°ããªãããç§ããã®ã¤ãããèªèãã¾ããï¼ ãChatGPTãç¡è¦ã§ããªããªãã¨æã£ãæ å ±æºãããã¯ã¢ããã¨ãã¦è¨ãã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ 2023/02/01â¦
ã¯ããã« ç§ã®ç±ãã¹ã¿ããæ´»åï¼ nikkieã§ãã ã¿ããªã®Pythonåå¼·ä¼ã®é²ç»ãå ¬éããéã«è¡ã£ãããªãã³ã°æä½ã®åå¿é²ãæ®ãã¾ãã ä»åçµæ§ããè¾¼ãã ã®ã§ããã次ã®ä½æ¥ã¯æ©ãã¦ã1ã¶æå¾ã§ãã èªåãæãåºããããã®ã¡ã¢æ¸ãã§ãã ç®æ¬¡ ã¯ããã« ç®â¦
ã¯ããã« å 輩ã¨åãã®ããã®å¤ãå§ã¾ããnikkieã§ãã ãµã¨ããã®å¤ãæè¡å人ã¤ãã³ãã次ã ã¨éå¬ããããã¨ã«æ°ã¥ãã¾ããã ã©ãã«åå ãããã¯ããããèããã®ã§ããã1æ¥1ã¨ã³ããªã使ã£ã¦ãæ¤è¨ã®ä¸æ©ç®ã¨ãã¦éå¬æ¥ã¨ç³è¾¼ç· åãä¸è¦§ã«ãã¦ããã¾ãâ¦
ã¯ããã« ããã£ãâï¸ nikkieã§ãã 2/16ã®ãã¿ããªã®Pythonåå¼·ä¼ãï¼ãªã³ã©ã¤ã³éå¬ï¼ã«ã¹ã¿ããåå ãã¦ã®ã¬ãã¼ãã§ãã ä»åã¯å¸ä¼ããã¾ããããä¸åå è ã¨ãã¦ã大ãã«æ¥½ãã¿ã¾ããï¼ ç®æ¬¡ ã¯ããã« ç®æ¬¡ åå¼·ä¼ã®æ¦è¦ ã¾ãè¨ããã¦ãã ãããããããâ¦
ã¯ããã« ã©ãããããï¼ã¾ã1ï¼åç½ãã¡ãã£ãããããªã¨ããã§2ãnikkieã§ãã Togetterã«é¢ããå°ãã¿ã®ã¢ã¦ããããã§ãã ã¾ã¨ããããã¤ã¼ããéããæ¹æ³ãç°¡åã«ãªãããã«ã¡ãã£ã¨ãã¤æ¹åãã¦ãã¾ããã ããã¦è³ã£ããä»ã¯ãããªæãã§éãã¦ãã¾â¦
ã¯ããã« ã¾ãã¨ã ãã¼ãããªããããªãã nikkieã§ãã ãã®ããã°ã§ãã¾ã«ããã¢ãã¡ã«æ¯ãåã£ãã¨ã³ããªã®1æ¬ã§ãã ãã³ãã³åãä¸ãã¦ãããç½ãç ã®ã¢ã¯ã¢ãã¼ãã1ã§ãããä»åã¯16話ããã¿ãã¬ããã§èªã£ã¡ããã¾ãã 16話ã¯æ¬å½ã«ãããã¨æããã§â¦
ã¯ããã« ãã©ãã¼ï¼ï¼ nikkieã§ãã ä»é±æ¨ææ¥2/16ã¯19æãããªã³ã©ã¤ã³ã§ã¿ããªã®Pythonåå¼·ä¼ (a.k.a stapy)ãæ°åæ¬ããç¥ãæ©æ¢°å¦ç¿ã®ä»ãï¼ äºç¿ãªã¹ãã¨ã³ããªãå ¬éããäºç¿ãé²ãã¦ãã¾ãã 2æã®ã¿ããªã®Pythonåå¼·ä¼ã¯"æ©æ¢°å¦ç¿æ°åç¹é"ï¼äºç¿â¦
ã¯ããã« ãã¢ã¿ã¤ãææ¦ãããã管ç人ã¿ããã«ã1ãnikkieã§ãã ã·ã§ã«ã¹ã¯ãªãããæ¸ãããèªãã ãããä¸ã§ifæã®æ¡ä»¶ã«ä½¿ã[ã1ã¤ã ã£ãã2ã¤ã ã£ãããéããããåãããªããªã¨æãã¦ãã¾ããã ããã¹ã¿ãªã³ã°Linuxã·ã§ã«ã¹ã¯ãªãã 第2çãã«ããâ¦
ã¯ããã« æªæ¥ããããnikkieã§ãã ä»é±æ¨ææ¥2/16ã¯19æãããªã³ã©ã¤ã³ã§ã¿ããªã®Pythonåå¼·ä¼ (a.k.a stapy)ãæ°åæ¬ããç¥ãæ©æ¢°å¦ç¿ã®ä»ãï¼ å æ¥äºç¿ãªã¹ãã¨ã³ããªãå ¬éãã¾ããã ä»åã¯ãKaggleã«æã深層å¦ç¿ããã°ã©ãã³ã°ã®æ¥µæãã«ã¤ãã¦ç¾æâ¦
ã¯ããã« ãï¸ITã¨ã³ã¸ãã¢æ¬å¤§è³2023 æè¡æ¸é¨éå¤§è³ åè³ï¼1 nikkieã§ãã ãè¯ãã³ã¼ãï¼æªãã³ã¼ãã§å¦ã¶è¨è¨å ¥éãï¼é称ããé§åæ¬2ï¼ã®èªæ¸ãã°ã§ãã 次åã®ããé§åæ¬_èªæ¸pyã«åãã¦ã14ç« ããªãã¡ã¯ã¿ãªã³ã°ããèªã¿å§ãã¾ããã ç®æ¬¡ ã¯ããã« ç®â¦
ã¯ããã« ãã®å¿ è¦ã¯ãªãããnikkieã§ãã Markdownã«é¢ããtipsãã¢ã¦ããããã§ãã ã¿ã¤ãã«ã®éããæ¹è¡ã£ã¦ãã£ããç°¡åã«å ¥ãããããã§ããï¼ ç®æ¬¡ ã¯ããã« ç®æ¬¡ ãã¥ã¼ã¹ï¼connpassã®ãåå è ã¸ã®æ å ±ãã§Markdownããµãã¼ã Markdownã«æ¹è¡ãå ¥ãâ¦
ã¯ããã« ãã®å¬ãæ©æ¢°å¦ç¿ã®æ°åãç±ãï¼ nikkieã§ãã æ¥é±2/16(æ¨)ã«ã¿ããªã®Pythonåå¼·ä¼ããªã³ã©ã¤ã³éå¬ããã¾ãï¼ä»æ¥ãå«ãã¦ãã¨7æ¥ï¼ï¼ã æ©æ¢°å¦ç¿æ¬ã®èè ã«çºè¡¨ããã ãã®ã§ããããä¸é¨ã ãã§ãèªãã§åå ããããã¨èªåç¨äºç¿ãªã¹ããä½ãã¾ãâ¦
ã¯ããã« éãæããããã«ã¯ å½ãæ¸ããããnikkieã§ãã ããé§åæ¬ 11ç« ãã³ã¡ã³ãããæ©ã«ããã¤ãã®æ¬ãããã£ã¦ãã¾ãã ååã¯ãClean Codeãç·¨ã§ããã ä»åã¯ããªã¼ããã«ã³ã¼ããã®ã³ã¡ã³ãã«ã¾ã¤ããç« ã®èªæ¸ãã°ãæ®ãã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡â¦
ã¯ããã« èãã¦èãã¦ï¼ nikkieã§ãã ããã¥ã¡ã³ãå¤æãã¼ã«Sphinxã¯ãµã¼ããã¼ãã£ã®MyST-Parseræ¡å¼µã使ãã¨ãMarkdownãã¡ã¤ã«ããããã¥ã¡ã³ãï¼HTMLãPDFãªã©ãªã©ï¼ãä½ãã¾ãã Markdownããããã¥ã¡ã³ããä½ãã¨ãã«ãç§ãéçºããã©ã¤ãã©ãªsphinâ¦
ã¯ããã« ãã ã²ã¨ã¤æ®ã£ããã®ãææ¾ããªãããã«ãnikkieã§ãã SpeechRecognitionã®ã¡ã³ããã§ã®çµé¨ã¨ç´è¿ã®ããé§åæ¬_èªæ¸py1äºç¿ãçµã³ä»ãã¾ããã ã³ã¡ã³ãã¢ã¦ãã«ã¤ãã¦ã¢ã¦ãããããã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ printé¢æ°ã®ããã«ãæå³ããªãåºâ¦
ã¯ããã« CHASE!ãnikkieã§ãã OGPï¼Open Graph protocolï¼ã«é¢ããSphinxãã¿ã§ãã çºè¡¨ã¹ã©ã¤ãã¯Sphinxæ¡å¼µã§ä½ã£ã¦GitHub Pagesã§å ¬éãã¦ãã1ã®ã§ãSphinxã§ä½ãHTMLã®OGPç¨ã®ã¿ã°è¨å®ã¯ãããªãã«çµé¨ãããã¤ããã§ããã ãã®é±æ«ãä»åç´¹ä»ããâ¦
ã¯ããã« å§ã¾ã£ãã®ãªãã貫ãã®ã¿ã§ããnikkieã§ãâ ä»åã¯ã¢ãã¡ãã¿ï¼æè¡è¦ç´ ãªãï¼ããã¸ã¬ã¯é¢é£ã§ãã ããã¯ãã£ã¨ãèªåã®æ°æã¡ãæ´çããããã®è¨äºã§ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ ããï¼éæ¿ã®ãç¥ããï¼ã¯çªç¶ãã£ã¦ãã æå¤ã«ããã¡ãå´ã®ãã¤èâ¦
ã¯ããã« ããåãã®ã«ãã¯ããã¾ããã§ã1ãnikkieã§ãã 以åãSphinxé¢é£ãã¿ã§reSTï¼reStructuredTextï¼ã«æ¸ããPythonã®å¯¾è©±ã¢ã¼ãã®å®è¡ä¾ãdoctestã使ã£ã¦ãã¹ããã¦ãããã¨ãã¢ã¦ãããããã¾ããã ãã¡ãã«é¢é£ãã¦ãããã¼ãå°ããï¼ã ãã©ç§ã«â¦
ã¯ããã« éãæããããã«ã¯ å½ãæ¸ããããnikkieã§ãã ããé§åæ¬ 11ç« ãã³ã¡ã³ãããæ©ã«ããã¤ãã®æ¬ãããã£ã¦ãã¾ãã ãClean Codeãã®ç¬¬4ç« ãã³ã¡ã³ããã®èªæ¸ãã°ãæ®ãã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ ãClean Codeã第4ç« ãã³ã¡ã³ãã åºæ¬ã¹ã¿ã³ã¹â¦
ã¯ããã« é å¼µãã°ãä½ããããã£ã¦ãä¿¡ãã¦ããnikkieã§ãã 2022å¹´12æãããªãªã¼ã¹ãã¼ãã«è¦ç«ã¦ãæã®ãµãããããå§ãã¦ãã¾ãã 1æã¯ãªã«ããã£ãã®ã§ããããï¼ ãµããããããã£ã¦ã¿ã¾ããã¼ï¼ ç®æ¬¡ ã¯ããã« ç®æ¬¡ æè¡ã¾ãã å¼ãç¶ããæ¯æ¥ããâ¦
ã¯ããã« YAPC::Kyotoã®ãã±ããã2/3(é)ã¾ã§ã®è²©å£²ã«å»¶é·ï¼1 nikkieã§ãã S3ã«ãªãã¸ã§ã¯ãããããã©ãããã·ã§ã«ã¹ã¯ãªããã§ç¢ºèªããæ¹æ³ãèãã¦ã¿ã¾ããã ç¾æç¹ã®æ«å®è§£ã¨ãã¦ã¢ã¦ãããããã¾ãã ã·ã§ã«ã¹ã¯ãªãããAWSã«é¢ãã¦ã¯ä¼¸ã³ããè±å¯ã¨â¦