COTOBA Agent dialog engine is an AIML dialog description language processing engine written in Python3. Contains programs for building your own interactions using the Artificial Intelligence Markup Language (AIML). The COTOBA Agent dialog engine supports tags defined in the interactive language AIML2.0. In addition, we extend our own extensions, such as tags that handle json, tags that call the RE
ãã®è¨äºã¯ Python Advent Calendar 2019 ã® 19 æ¥ç®ã®è¨äºã§ãã ð ãããã Python ã®ããã±ã¼ã¸ç®¡çãç¹ã«ããæ°å¹´ã§æ°ãããã¼ã«ãå¤ãåºããã¨ããããä¸ä½ä½ã使ãã¹ããªã®ããå°ã調ã¹ãã ãã§ã¯åãããªãã¨æãã¾ããæ¬è¨äºã§ã¯ãæ°ããã®ç®¡çãã¼ã«ãç¬æã¨åè¦ã§æ¯è¼ãã¾ããèè 㯠Poetry ä¿¡è ãªã®ã§ãã¤ã¢ã¹ãæãã£ã¦ããã®ã§æªããããã æ¬è¨äºã§æ¸ãã¦ããã㨠PipenvãPoetryãPyflow ã®éãã¨ä½¿ãæ¹ æ¬è¨äºã§æ¸ãã¦ããªãã㨠PyenvãVenvãVirtualenv ãªã©ã®æ¢åãã¼ã«ã®èª¬æ èè ã®ç°å¢ã¯ä»¥ä¸ã®éãã Ubuntu 18.04 Python 3.8.0 Pipenv 2018.11.26 Poetry 1.0.0 Pyflow 0.2.1 ç¹ã« Poetry 㨠Pyflow ã¯éçºéä¸ãªã®ã§ãæ¬è¨äºã®å 容ã¨éã
TL;DR ãã¤ãªç³»ã®å¸¸ã¨ãã¦ãå®é¨å®¤ã§å®é¨ãããã³ã«ãåç §ãããæãããã¾ããã¹ããã§ãããã調ã¹ãã¨ããå± å®¤ã«æ»ãã¨ããã¦ããã§ãããã®æéãããªãç¡é§ã«æãã¦ãã¾ããã ããã§ãGoogle Driveã«ããããããããã³ã«ãã¢ãããã¼ããã¦ãããSlackãä»ãã¦ãªã³ã¯URLãåç §ãããã¨ã§ç°¡æã«ã¹ããã§ãããã³ã«ãåç §ãããã¨ãããã¨ãç®çã¨ãã¾ãããã¾ãããããã³ã«ãããæ£é¸ãã¦ãã¦æ¢ããªããã¨ãå¤ãã£ãã®ã§ãSlackã使ã£ã¦åãããã³ã«ãéç©ããDBã使ã£ã¦ç®¡çãããã¨ã§å®é¨å¹çãä¸ãããã¨ãæå¾ ã§ãã¾ãã å ¨ä½å æ±ããæ©è½ã¯ä»¥ä¸ã®éãã§ããã¿ã°ä»ãããSlackAPIã使ã£ã¦ãªã¹ãããã¿ã³ãªã©ã使ã£ãããªã©ããããæ©è½ã追å ãã¦ããããã¨ã¯æã£ã¦ãã¾ãããã¾ãããªãããããªã¨æãã¾ããã Slackãããããã³ã«åãGoogle Driveã¸ã®ãªã³ã¯URLãDBã¸ç»é²ã
Pythonã§SlackBotãéçºãããä¼ç»ã®ç¬¬7åç®ãä»åã¯ååç¨æããMySQLã«å¯¾ãã¦ãSQLAlchemyã¨ããO/Rãããã¼ãå©ç¨ãã¦ã¢ã¯ã»ã¹ãã¦ãã¼ã¿ã®ç»é²ã»æ´æ°ã»åé¤ããã¦ããããã¨æãã¾ããä»åã§SQLAlchemyã®ä½¿ãæ¹ãå¦ã¹ãã°ããã¨ã¯TwitterAPIã¨DocomoAPIãé§ä½¿ãã¦ããããéã¹ãæªæ¥ãå¾ ã£ã¦ããã¯ã...ï¼ ååã®ç¬¬6åç®ã§ã¯ãâ ã®ããã«ãPythonã¢ããªã±ã¼ã·ã§ã³ã§åãåã£ããã¼ã¿ã®ä¿åå ãã¼ã¿ãã¼ã¹ã§ããMySQLãç¨æãã¾ããã ä»å㯠â ã®ããã«ãPythonã¢ããªã±ã¼ã·ã§ã³ã§SQLAlchemyãå©ç¨ãããã¼ã¿ãã¼ã¹ã¸ã®å¦çãç´æ¥SQLãæ¸ããã«å®ç¾ã§ããããã«ãã¦ããã¾ãã O/Rãããã¼ã»SQLAlchemyã¨ã¯ï¼ ãããããO/Rãããã¼ã¦ä½ï¼ãã¨ãã質åã«å¯¾ãã¦æ確ã«èª¬æã§ããªãã£ãã®ã§ã調ã¹ã¦ã¾ã¨ãã¾ããã ã¢ããªã±ã¼ã·
2019å¹´9æ17æ¥ã«PyCon JP 2019ï¼https://pycon.jp/2019/ï¼ã§çºè¡¨ããã¹ã©ã¤ãã§ãã â»æéã足ããªãã¦çºè¡¨ã§ããªãã£ãã¹ã©ã¤ããå¾åã«å°ãå ¥ã£ã¦ã¾ãã https://pycon.jp/2019/sessions
ã¯ãã㫠以åãä½æãããµã¼ãã¹ãå ¬éããã¾ã§ã®éç¨ãè¨äºã¨ãã¦æ®ãã¾ããã æ¬è¨äºã§ã¯ä½¿ç¨ããæè¡ã¨æµãã ãã«è§¦ãã åæã§è¡ã£ã詳細ãªä½æ¥å 容ã¯ä»å¾ãé 次è¨äºã«ãã¦ãããã¨æãã¾ãã ãµã¤ãå 容 ä½ã£ãã®ã¯ç»åãã¢ãããã¼ãããã¨ã¢ã¶ã¤ã¯å¦çãè¡ãããµã¼ãã¹ã§ãã ç»åå ¨ä½ã¢ã¶ã¤ã¯ã¨é¡ã®ã¿ã«ã¢ã¶ã¤ã¯ãåºæ¥ãããã«ãã¾ããã ã¢ãããã¼ãããç»åã¯ã¦ã¼ã¶ã¼ãã¨ã«ç®¡çåºæ¥ã¾ãã 使ã£ãæè¡ ã¨ããããã¯éçº/éç¨ã³ã¹ããæãããã£ãã®ã§ãåºæ¬çã«ç¡æã§ä½¿ãããã®ãé¸ã³ã¾ããã ãã¼ã¿ã«ã³ã¹ãã¯æ°ååç¨åº¦ã§ãããã¨ããããç¡æãã©ã³ã§ä½ã£ã¦ãè¦æ¨¡ã大ãããªã£ã¦ããææãã©ã³ã«åãæ¿ããã°è¯ãã¨æãã¾ãã ã»Djnago ã»Heroku ã»Cloudinary ã»ãåå.com ã»CloudFlare ãµã¼ãã¹ãå ¬éããã¾ã§ã®æµã Djangoã§ã¢ããªã±ã¼ã·ã§ã³ãä½ã Herokuã§ãããã¤ã
2019å¹´9æ16æ¥/17æ¥ã«éå¬ãããPyCon JP 2019ã§èªåãç´æ¥/YouTubeã§è´è¬ããã»ãã·ã§ã³ã«ã¤ãã¦ã®ã¾ã¨ãã§ãã主ã«ä¸è¨ã®å 容ãæ¸ãã¦ãã¾ãã ã¹ãã¼ã«ã¼URL é ä¿¡åç» ã¹ã©ã¤ã çºè¡¨å ã§åºã¦ããã©ã¤ãã©ãªãªã©ã®URL èªåã®ææ³ ããã®ã»ãã·ã§ã³ã§è©±ãã¦ããã©ã¤ãã©ãªãªãã ã£ããã¨æãåºãããæ¹ããã£ããå 容ãç¥ãããæ¹ã«èªãã§ããã ããã°å¹¸ãã§ããPyCon JPã«èªåãçºè¡¨è ã¨ãã¦ãåå ããã¹ã¿ããã¨ãã¦åå ããWebãµã¤ãã®éçºãããã®ã§ãããã«ã¤ãã¦ã¯æ¹ãã¦æ¸ãããã¨æãã¾ãã pycon.jp Pythonã¨AutoML / èç° å° ã¹ãã¼ã«ã¼: https://twitter.com/c_bata_ åç»: https://www.youtube.com/watch?v=Whkwu46DgBs ã¹ã©ã¤ã: https://www.slideshar
æ©æ¢°å¦ç¿PodcastãTWiMLï¼AIãã§å é±åãä¸ããããå¯è¦åã©ã¤ãã©ãªãYellowbrickããé常ã«ä¾¿å©ã ã£ãã®ã§ç´¹ä»ãã¾ãï¼ã¡ãªã¿ã«Podcastã«ã¯ä½è ã®1人ã§ããRebecca Bilbroãããåºæ¼ãã¦ããã®ã§èå³æã£ãæ¹ã¯æ¯éèãã¦ã¿ã¦ãã ããã twimlai.com www.scikit-yb.org Yellowbrickã¨ã¯ ä¸è¨ã§è¨ãã¨ãæ©æ¢°å¦ç¿ã«ç¹åããå¯è¦åã©ã¤ãã©ãªã§ããå®è£ çãªé¢ã§è¨ãã¨(ãã¡ãã®æ¹ãããããããããããã¾ãã)ãscikit-learnã¨matplotlibãã©ãããã¦ãscikit-learnã©ã¤ã¯ãªAPIã§ä½¿ããã¨ãã§ãããã®ã§ãã ä¾ãã°ç¸é¢è¡åã®ãã¼ããããããããããããå ´åã¯æ¬¡ã®ããã«æ¸ãã ãã§ã°ã©ããä½ããã¨ãã§ãã¾ãã visualizer = Rank2D(features=features, algorithm=
è¦ç´ ãâ¦ããã®ã¾ã¾ ä» æã£ãäºã話ããï¼ ãæåãæåã§ä½ãããé¢ç½ãããï¼ã ä½ãè¨ã£ã¦ããã®ã ããããã¼ã¨æããã ããã ä½ãè¨ã£ã¦ããã®ãåãããªãã å ã«è§ãä¸è¨ã®ä½ä¾éãè¦ãã°ä½ããããã®ããåãããã¾ãã¯è¦ã¦ã Colaboratoryã§ãåæä¸åä¸è¦ï¼ãã©ã¦ã¶ã ãã§ããåãããã ããã¯ã奴ã®åã§æåãæ¸ãã¦ããã¨æã£ãã ãã¤ã®ã¾ã«ãçµµãæ¸ãã¦ãããã¨æã£ãããã£ã±ãæåãæ¸ãã¦ããã é ãã©ãã«ããªãããã ã£ã ä½ä¾éâ 殺ä¼ã¨ããã¦ã ããããã³ãã®ãã¨ãã«ããã¯ã¹(ç¬)ã 殺ä¼ã¨ããã¹ã¬ã«é³¥åçãï¼ï¼ å³¶æ ¹çãï¼ â»ãçç¾å¡ãã¨å¼ã°ãã¦ãããããï¼ ç§ããªã¥ã¼ã¯ãç®ã®åå¼ã ã ã¢ã¤ãã«ã®æ¹ã®ä¸èãæ»ã¬ã£ï¼ EVA ãããªã¨ããã©ããªé¡ãããããããããããªãã® ããããªãããä½ä¾éãè¦ã¦ã ãä½ããããã®ããã¯åãããªãã£ããããããªãã ãä½ãåºæ¥ãããã«ãª
ikura1ã§ãã æ¨æ¥ã®Python Kansaiâã§ãã³ã¼ããBlackã«ããããã¨ããã¿ã¤ãã«ã§LTããã¦ãã¾ããã ãã®ææã§ãã kansai-python.connpass.com è³æã¯ä¸è¨ã«ããã¾ãã speakerdeck.com çºè¡¨ã®åæ© åæ©ã¨ãã¦ã¯2ã¤ããã¾ãã ã¡ãã£ã¨å¤§ããå ´ã§ã®LTãããã¨ããå®ç¸¾è§£é¤ Blackãåºããã ã¡ãã£ã¨å¤§ããå ´ã§ã®LTãããã¨ããå®ç¸¾è§£é¤ 10-20人ãããã®å ´ã§ã®LTã ã¨ããã£ãã®ã§ãããã以ä¸ã®äººæ°ã§ã¯ãã£ããã¨ããªãã®ã§ã¹ãããã¢ããã®ããã«çµé¨ãããã¨ãããã¨ã§ä»åLTããããã¨æãã¾ããã 転è·æ´»åããã¦ããã®ã§ãå°ãã§ãè¨ããå®ç¸¾ãä½ãããã£ãã¨ãããã¨ãããã¾ãã Blackãåºããã Blackèªä½ã¯å»å¹´ã®PyCon mini Osakaã®çºè¡¨ãGoãããPythonãæ¸ããã§ç¥ãããããã使ã£ã¦ãã¾ããè¨å®ãã
Stripe uses machine learning to respond to our usersâ complex, real-world problems. Machine learning powers Radar to block fraud, and Billing to retry failed charges on the network. Stripe serves millions of businesses around the world, and our machine learning infrastructure scores hundreds of millions of predictions across many machine learning models. These models are powered by billions of dat
ãã®è¨äºã¯ BeProud Advent Calender 2018 ã®20æ¥ç®ã®è¨äºã§ãããã®ãããã¤ãããããªã¥ã¼ã ãã£ã·ããæä½ãä¸å¯§ã«ãéããã¾ãã adventar.org æ¬è¨äºã§ã¯Poetryã使ã£ã¦ããã±ã¼ã¸éçºâPyPIã¸ç»é²ããã¾ã§ã®æµããç´¹ä»ãã¾ãã github.com ããã¸ã§ã¯ãä½æããPyPIç»é²ã¾ã§ããã30ç§ Poetry ã«ã¤ã㦠åºæ¬çãªä½¿ãæ¹ Poetry 㨠Pipenv Pipenvã¯ç¢ºãã«ä¾¿å©ã ãã© Pipenv ãã Poetry ã«ä¹ãæãã Poetry 㨠Pyenv PEP517 㨠PEP518 Poetryã®å種è¨å® venvã®ä½æå ãããã¸ã§ã¯ãå ã«ããã TestPyPIã¸ã¢ãããã¼ãã§ããããã«ãã TestPyPIã®ã¦ã¼ã¶ã¼åã¨ãã¹ã¯ã¼ããè¨å®ãã ããã¾ã§ã®è¨å® ããã¸ã§ã¯ããç¨æãã æ°è¦ä½æ æ¨æºçãªã¬ã¤ã¢ã¦ã sr
ããã«ã¡ã¯ã@yoheiMuneã§ãã çæ§ã¯Unitãã¹ãæ¸ããã¦ãã¾ããã¼ï¼åã¯èªåã®ã¢ããªã±ã¼ã·ã§ã³ã§unitãã¹ããæ¸ãããã«ãã¦ãã¾ããä»æ¥ã¯Pythonã§ã®Unitãã¹ãã®æ¸ãæ¹ãããã°ã«æ¸ãããã¨æãã¾ãã ç®æ¬¡ åä½ãã¹ããæ¸ãçç± åãåä½ãã¹ããæ¸ãçç±ã¯ãå¥ã«èª°ãããå¼·å¶ããã¦ããããã§ã¯ãªããèªåã®ããã«æ¸ãã¾ããã¦ããããã¹ããæ¸ããã¨ã§ä»¥ä¸ã®ã¡ãªããããããªãã¨æãã¦ãã¾ãã ã³ã¼ãã£ã³ã°ããªããåæã«ãã¹ããã§ãã¦å質ã確ä¿ãããã ãã¹ãããããã¡ã½ããè¨è¨ã«ãªã£ã¦ãä»å¾ã®ã¡ã³ããã³ã¹ãããããï¼ä¾ãã°å°æ¥ä»æ§å¤æ´ããã£ãå ´åã«ããã¡ã½ãããä¿®æ£ãã¦ãã¹ããä¿®æ£ããã°ãæä½éå質ãæ ä¿ã§ãã ç´°ãããã¹ããã§ãã¦ãã¹ãããªã¨ã¼ã·ã§ã³ã確ä¿ã§ããå質ã«ç¹ãããä¾ãã°HTTPãã¢ããªãDBãéãã¦ãã¹ãããå ´åã«ã¯ãã©ããã¦ãç´°ããé¨åã¯ãã¹ããã¥ããï¼ æ°ãã
0. ã¯ããã« AtCoderãªã©ã§ã¯ãã°ã©ããæ±ã£ãåé¡ãå¤ãåºããããã®åº¦ã«ä¸ããå®è£ ãã¦ããã¨æéãæããããã¦ãã¾ããããæåãªãã®ããããããæã£ã¦ããå¿ è¦ããããããããã§ãPythonãç¨ãã¦ããã¤ã¯ã¹ãã©æ³ããã«ãã³ãã©ã¼ãæ³ãããªã æ³ãã¯ã©ã¹ã«ã«æ³ãã¯ã¼ã·ã£ã«ããã¤ãæ³ãå®è£ ããã ã³ã¡ã³ããæè¦çããæ¹ã¯æ¯é! ãå¾ ã¡ãã¦ã¾ã! 1. ãã¤ã¯ã¹ãã©æ³ 1.1. ãã¤ã¯ã¹ãã©æ³(defaultdictã§å®è£ ) defaultdictã§å®è£ ããã¨ããªã¹ãã§å®è£ ãããããããã¼ãæ°$N$ã大ããéã«ã¯é«éã«åä½ããããã ããçµè·¯å¾©å ã®é¢æ°ã¯ããã¾ãæ¸ããªãã£ã......ã (2019/7/6 追è¨)çµå±ã§ãã¾ããã1.1.1. ãåç §ãã¦ãã ããã import collections import heapq class Dijkstra: def __init__(se
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}