Pythonã®åå¼·ããã¦ãã¾ã
ãä»å¹´ã®2æ29æ¥ãPyCon Mini Shizuokaãã¨ããã¤ãã³ãã§ãã¼ãã¼ãã¹ãã¼ã«ã¼ã¨ãã¦ç»å£äºå®ã§ãï¼è©³ç´°ã¯ä»¥ä¸åç §ä¸ããï¼ã
ããã¼ãã¼ãã¹ãã¼ã«ã¼ãå¼ãåãããã®ã®ãããèããã¨ãç§ã¯Pythonãããã¾ãåãã£ã¦ãã¾ããããããã¯ãå¹¾ãä½ã§ãã¾ããã®ã§ã¯ï¼ãã¨ãããæ°æã¡ã«ãªãã¾ãããããã§ãä»å¹´ã®å¹´æ«å¹´å§ãä¸å¿ã«Pythonã®æ¬ãããã¤ãèªãã§ãPyConã®è°è«ã«ã¤ãã¦ãããããã«ãå°ãã§ãPythonã¸ã®ç解ãæ·±ãã¦ãããã¨ã«ãã¾ããã
ãå¦ãã ãã¨ã¯ãæè§ãªã®ã§ä»¥ä¸ã®Qiitaè¨äºã«ã¾ã¨ãã¦ããã¾ãï¼éæ追å ä¸ï¼ã
ããã®è¨äºã§ã¯ãå¦ç¿ã«ä½¿ç¨ããæ¬ã¨ãç°¡åãªææ³ãæ¸ãã¦ã¿ã¾ããèå³ããæ¹ã¯åèã«ãã¦ã¿ã¦ä¸ããã
ãç§ã®ããã°ããè²·ãã®ãå«ã ï¼ã¨ãã人ã¯ãã¿ã¤ãã«ãã³ãã¼ãã¦Amazonã§æ¤ç´¢ãã¦ãããã°å¤§ä¸å¤«ã§ããããã¡ããè²·ããªãã¦ã大ä¸å¤«ã§ããå½ããåã§ãããé¸æã®èªç±ã¯èªã¿æå´ã«ããã¾ãã
æ¬å½ã®åå¿è ã«åãã¦
ãããã§ç´¹ä»ããæ¬ã¯ãããç¨åº¦Pythonã使ã£ããã¨ã®ãã人åãã®ãã©ã¡ããã¨ããã¨2åç®ä»¥éã®æ¬ãæ³å®ãã¦ãã¾ãã
ãæ¬å½ã®åå¿è ã¯ããªã³ã©ã¤ã³ã§æãåãããªããå¦ã¹ããã®ããæåã®ã¨ã£ãããã«ã¯è¯ãã¨æãã¾ãããã©ã¦ã¶ããããã°ãOSé¢ä¿ãªãåå¿è ã«ã¨ã£ã¦ãã¼ãã«ã®é«ãç°å¢æ§ç¯ä¸è¦ã§å§ããããã®ã§ããªã¹ã¹ã¡ã§ãã
ãç§ã試ãããã¨ããã®ã¯Aidemyããã§ããPythonå ¥éã¯ç¡æã§åè¬ã§ããã¨æãã¾ãã
ããã¨ã¯ãå°ã触ã£ãç¨åº¦ã«ã¯ãªãã¾ãããProgateãããè¯ãããªã¨æãã¾ããè©å¤ãé«ãã§ããã
ãèªåã§åºæ¥ããï¼ã£ã¦äººã¯ã以ä¸è¨äºã«åå¿è åãã®æ å ±ãã¾ã¨ãã¦ããã¾ãã®ã§ããããã°åèã«ãã¦ã¿ã¦ä¸ããã
Pythonå¦ç¿æ¬ï¼Pythonå ¨ä½ãç¶²ç¾ ããæ¬ï¼
ãæåã«ãPythonå ¨ä½ãç¶²ç¾ çã«ç解ãããããªæ¬ãç´¹ä»ãã¾ãã
ã¿ããªã®Python 4th
ãå ¥éçãªå°å ¥ã«å ãã¦ãé¢æ°åããã°ã©ãã³ã°ã»ã¤ãã¬ã¼ã¿ã»ã¸ã§ãã¬ã¼ã¿ã»ãªãã¸ã§ã¯ãæåã»ã¯ã©ã¹ã»ç¹æ®ã¡ã½ããçãããç¨åº¦é«åº¦ãªã¨ããã¾ã§ãç¶²ç¾ ããã¦ãã¾ããåå¿è ã«åãã¦ä¸å¯§ã«æ¸ããã¦ããã®ã§ãç解ãããããã§ãã
ããã ããã®æ¬èªä½ã¯æ£ç´éå±ãªã®ã§ãããç¨åº¦ç¶²ç¾ çã«ç解ããã人ãèªãã ããè¾æ¸çã«ä½¿ãæ¬ã®å°è±¡ãå¼·ãã§ããã1åç®ã«ããèªãã¨ãPythonã®ä½ãè¯ããããããæ«æãã¡ããããããã¾ããã
ããã¨ãã¡ããã¡ãã誤è¨ããã®æ°ã«ãªãã¾ããã大ããå 容ã§ã¯ãªãã§ãããå ¨ãã®åå¿è ã¯å°æãã¦ãã¾ãããã§ãããæ£èª¤è¡¨ããã§ãã¯ãã¦ãããæ¹ãããã§ãã
Pythonã¨ã³ã¸ãã¢è²ææ¨é²åä¼ç£ä¿® Python 3ã¹ãã«ã¢ããæç§æ¸
ãå 容çã«ã¯ããã¿ããªã®Python 4thãã¨åããããªæ§æã ã¨æãã¾ãã
ãèªã¿ãããããè¯ãã®ã§ã¯ãªããã¨æãã¾ãããå¯è½ãªãæ¬å±ã§ãã¿ããªã®Python 4thãã¨èªã¿æ¯ã¹ã¦ãèªã¿ãããããªãã®ãé¸ã¹ã°è¯ãããªã¨æãã¾ãã
ç¬å¦ããã°ã©ãã¼
ããã®æ¬ã¯ã¡ãã£ã¨æ¯è²ãéã£ã¦ãPythonã®åºæ¬ã«ã¯ãã¾ãããã¼ã ã§ããã°ã©ãã³ã°ãéçºããã¡ã½ãããããä»äºã«åãçµã姿å¢ã¾ã§æ¸ããã¦ããå¹ åºãæ¬ã§ããå 容ãPythonã ãã§ãªãããã¼ã¸ã§ã³ç®¡çã·ã¹ãã ï¼Gitï¼ã®ä½¿ãæ¹ãã¢ã«ã´ãªãºã ãã³ã¼ãã¬ãã¥ã¼ã®ä»æ¹ã«å ããé¢æ¥å¯¾çï¼ï¼ï¼ï¼ã¾ã§åãæ±ã£ã¦ãã¾ãã
ãPythonã ãç¥ãããã¨ãã人ã¯ãã¡ãã£ã¨ä¸åãããããã¾ãããããã ãããã°ã©ãã³ã°éçºå ¨è¬ãç解ãããåå¿è ãèªãæ¬ã¨ãã¦ã¯ãã¨ã¦ãè¯ãæ°ããã¾ãããèªåã«ã¨ã£ã¦ã¯ãããã¡ãã£ã¨æ©ãèªãã§ããã¹ãæ¬ã§ãããã
Pythonå¦ç¿æ¬ï¼å¿ç¨ç·¨ï¼
ããã¡ãã¯ãPythonã主ä½ã¨ãããããPythonã使ã£ã¦ä½ãããããã¨ã«éããç½®ããæ¬ãç´¹ä»ãã¦ãã¾ãããªã®ã§ããã¡ãã¯åºæ¬çã«æãããªç®çããã人ã対象ã§ãã
Pythonå®è·µãã¼ã¿åæ100æ¬ããã¯
ãPythonã使ã£ããã¼ã¿åæã«é¢ãã¦å¦ã¹ãæ¬ã§ããå®éã«ä½¿ãããããªãµã³ãã«ã®ãã¼ã¿ã«å¯¾ãã¦ãJupyter Notebookã使ã£ã¦ãã¼ã¿å¦çãå®è·µãã¦ããå 容ã§ããæ±ããã¼ã¿ãããã¸ãã¹çãªåå売ä¸ãããç»åå¦çãè¨èªå¦çã¨å¹ åºãã§ããå®è·µçãªå 容ã身ã«ã¤ãã¾ãã
ãæ¯è¼çãåå¿è åãã§ããããã¦ã³ãã¼ãã§ãããµã³ãã«ããã°ã©ã ã®ã©ã¤ã»ã³ã¹ãä¸æ確ãªã®ãã¡ãã£ã¨æ°ã«ãªãã¾ãããGitHubã§MITã©ã¤ã»ã³ã¹çãåå©ç¨ããããå½¢ã§å ¬éãã¦ãããæ¹ããèªè ã«è¦ªåããªã¨æãã¾ãããã³ã¼ããå ¬éããæ¹ããæ¬ã¯å£²ããæ代ã ã¨æãã¾ããã©ãã
Kaggleã§åã¤ãã¼ã¿åæã®æè¡
ãKaggleã¨ãããã¼ã¿åæã®ã³ã³ããã£ã·ã§ã³ã«ç¹åããæ¬ã§ããKaggleã«é¢ãã¦è©³ããã¯ä»¥ä¸è¨äºåç §ä¸ããã
ãä»Kaggleã«é¢ãã¦ãä¸çªä¸å¯§ã«æ¸ããã¦ããæ¸ç±ã¯ããã ã¨ããã®ãå®è©ã§ããKaggleæ¬ã¨ãè¨ããã¦ã¾ãããKaggleã«èå³ãã£ãã®ã§è²·ã£ã¦ã¿ã¾ãããè¶ å®è·µçãªå 容ãªã®ã§ãKaggleãå§ãããªãè²·ãã¹ãæ¬ã§ããããã¼ã¿åæã®æ§ã ãªææ³ãç¥ãä¸ã§ãè¯ãæ¬ã ã¨æãã¾ãã
ãæ£ç´ãå ¨é¨èªã¿ããªãã¦ãªãã§ãâ¦ãã ãè¾æ¸çã«ã使ããããªæ¬ã ãªã¨æãã¾ãã
ãä»ã¯ã3æã«ãªãã¨ãu++(id:upura)ããã¨ã«ã¬ã¼ãããKaggleæ¬ãåºããããã®ã§ããã¡ããæå¾ ãã¦ãã¾ãã
ã¤ãããªããå¦ã¶ï¼PyTorchã«ããçºå±ãã£ã¼ãã©ã¼ãã³ã°
ãPythonã¨ãããPyTorchãå¦ã¶æ¬ã§ãããæè¿PyTorchåå¼·ä¸ãªã®ã§ããã¡ãã«é¢ãã¦ã¯ãã¾ãPyTorchã«ç¹åããè¨äºãæ¸ããã¨æãã¾ãã
ãæ¬èªä½ã¯ãå¹ åºãè²ã ãªæè¡ãåãä¸ãã¦ãã¦ããªããªãè¯ãæãããªã¨æãã¾ãã
ã¼ãããä½ããã£ã¼ãã©ã¼ãã³ã°
ãä½åº¦ãç´¹ä»ãã¦ããæ¬ã§ããããã£ã¼ãã©ã¼ãã³ã°ãæ·±ãç¥ããããªãä¸åº¦ã¯èªãã§ããã¹ãæ¬ã§ããã
ãã¾ãããã¼ãããä½ã Deep Learning 3ãã¨ããæ¬ãçºå£²äºå®ã¨ã®ãã¨ã§ããå ¬éã¬ãã¥ã¼ãã¦ã¿ã¦ãå°ãä¸èº«ãèªãã§ã¿ãã®ã§ãããPyTorchãã¼ã¹ã®ãã£ã¼ãã©ã¼ãã³ã°ã®ãã¬ã¼ã ã¯ã¼ã¯ãæãåãããªããã»ã¼ããã«ã¹ã¯ã©ããã§ä½ãã¨ãããé常ã«æ欲çãªå 容ã§ããã
ããªãã¸ã§ã¯ãæåã¨ãã¯ã©ã¹ã¨ããæ¬ãèªãã§ãä½æ å¿ è¦ãå ¨ç¶ãã³ã¨ããªã人ã¯ãããããæ¬ãèªãã§ã¿ãã¨ã²ãã£ã¨ãããç解深ã¾ãããããã¾ããã1/13ã¾ã§å ¬éã¬ãã¥ã¼ãã¦ããã®ã§ãèå³ããæ¹ã¯æ¯éã¬ãã¥ã¼ã«åå ãã¦ã¿ã¦ä¸ããã
ããã®æ¬è²©å£²ããããè²·ãã¨æãã¾ãã
æçã³ã¼ã¹ã§ããã ãã£ã¼ãã©ã¼ãã³ã°ã®æ°å¦
ã以åç´¹ä»ããæ¬ã§ããå人çã«ã¯ããã£ã¼ãã©ã¼ãã³ã°ã®åºç¤ããã®ç解ã«é¢ãã¦ãã¼ãããä½ããã£ã¼ãã©ã¼ãã³ã°ãã«ä¸¦ã¶è¯æ¸ã¨æã£ã¦ãã¾ããã³ã¼ããWebã§å ¬éããã¦ããã®ã§ãã¾ãã¯ãã¡ãã軽ãã¿ã¦ããæ¸ç±ã®è³¼å ¥ã決ãã¦ãè¯ãããããã¾ããã
ã詳細ã¯ã以ä¸ã®ã¬ãã¥ã¼ãåç §ä¸ããã
ExcelÃPythonæéä»äºè¡
ãåºç社æ§ããç®æ¬ããã ããæ¬ã§ãã大ããªä¼æ¥ã ã¨Pythonå°å ¥ã®ãã¼ãã«ãä¸çªã®åé¡ã«ãªãããã§ãããã ãããããã¯ãªã¢ã§ããã°VBAã«éçãæãã¦ãã人ããRPAæ¨é²ãæ ¼å®ã§å®ç¾ã§ãããã£ããã¨ãªãæ¬ããããã¾ãã
ãç§èªèº«ã¯ãExcelã®ã¯ã¼ã¯ã·ã¼ãããããããããªãPythonã©ã¤ãã©ãªãããã®ç¥ããªãã£ãã®ã§ããããç¥ããã ãã§ãèªãã 価å¤ãã£ãããªã¨æãã¾ããï¼ãã¤ãcsvã«æ¸ãåºãã¦ããpandasã§èªã¿åºãã¦ãï¼ããã¡ãããcsvã§æ¸ãåºãã¦pandasã§å¦çããæ¹æ³ã«é¢ãã¦ãæ¸ç±ã§åãä¸ãã¦ãã¾ãããããã¾ã§ã¿ã£ã¡ãã§ã¯ãªãã§ãã
ããã¼ã¿åæã詳ããç¥ããã人ã¯ãä¸ã§ç´¹ä»ãããPythonå®è·µãã¼ã¿åæ100æ¬ããã¯ãã®æ¹ãè¯ãããªã¨æãã¾ãã
ãPythonå§ãããã¨ãã人ããExcelãã¨ã£ãããã«Pythonå¦ãã ããVBAã«éçãæãã¦ãã人ã«è¯ãããªã¨æãã¾ããã¿ã¤ãã«èªãã ã¨ãã¯ã¡ãã£ã¨å¦å®çã§ããããèªãã§ã¿ãã¨ããã®æ¬ã«æãããä¸ã®ä¸ã«çµæ§å¤ããããããªããªã¨æãç´ãã¾ãããã©ã¡ããã¨ããã¨å³å¹æ§ãæ±ããæ¬ã§ã¯ãªãããã£ããå¦ãã§ãã¤ã大ãããªã¿ã¼ã³ãå¾ããã¨ãæå¾ ããæ¬ã ã¨æãã¾ãã
ã¾ã¨ã
ãPythonãå¦ã¶ããã«èªãã æ¬ãã¾ã¨ãã¦ã¿ã¾ãããPyConã®ãã¼ãã¼ãã¹ãã¼ãã決ã¾ã£ã¦ãããPythonãæ ã¦ã¦åå¼·ãå§ãã人ãèªåãããã§ã¯ãªãã§ããããï¼ç¬ï¼
ããªãã¹ãæ£ããæ å ±ãæä¾ã§ããããã«åªåãã¾ãããæ°¸é ã®åå¿è ãªã®ã§ãééãã¿ã¤ããã¨ãã¯ãã©ããçæ§åªããæãã¦ä¸ããã¾ãã
ããPyCon mini Shizuokaãã§ã¯ãã©ãºããªã¼ãã¤ã®âãã¤âã¨ã¯ãªãã®ãã¨ã ã ã Python x ãã¼ãã¦ã§ã¢ã®å¯è½æ§ ããã¨ããã¿ã¤ãã«ã§ãPythonã¨ãã¼ãã¦ã§ã¢ã®çµã¿åããããã¨ã§åºããå¯è½æ§çãªãã®ãã話ããããªã¨èãã¦ãã¾ããè³æã¯å¤§ä½é ã®ä¸ã§ã¯ã§ãããã£ãã®ã§ãä»ããé å¼µã£ã¦ä½ãã¾ãï¼ã¿ãªãã¾æ¯éãè¶ããã ããã
ã追è¨ï¼PyCon mini Shizuokaã§ã®çºè¡¨ãå®æ½ãã¾ãããå 容ã«é¢ãã¦ã¯ä»¥ä¸è¨äºåç §ãã ããã
æ¸ç±ã®å®£ä¼ãããããå çã®ã¨ã«ãã楽ããAIèªä½æ室ã
ãAIã®åå¿è åãæ¬ãããããå çã®ã¨ã«ãã楽ããAIèªä½æ室ããå·çãã¾ãããGoogle Colaboratoryã使ã£ã¦ãå®éã«åãããªããAIãå¦ã¹ãæ¬ã«ãªã£ã¦ãã¾ãã
ãæç³»ã§AIç´ äººã®ç§ã®å¦»ããå®è·µã§ãã¦ç解ãæ·±ãããããããªãåå¦è åãã®å 容ã«ãªã£ã¦ãã¾ããPythonã§AIãå¦ãã§ã¿ããæ¹ã¯æ¯éã以ä¸ã«ç´¹ä»è¨äºãæ¸ãã¦ãã¾ãã
ãã¾ããPython x ãã¼ãã¦ã§ã¢ã®ã¨ã£ãããã¨ãã¦ãå»å¹´æ«ã«çºå£²ããæ¸ç±ãJetson Nanoè¶ å ¥éãããªã¹ã¹ã¡ã§ãããã¡ãããããããã°æ¯éï¼
åèãªã³ã¯
ãæ¬ãé¸ã¶ã¨ãã«åèã«ããè¨äºçã§ãã
Pythonを学ぶときに読むべき本2020年版 - 初心者からプロになるために - Lean Baseball