import torch x = torch.tensor([1., -1.]) w = torch.tensor([1.0, 0.5], requires_grad=True) loss = -torch.dot(x, w).sigmoid().log() loss.backward() print(loss.item()) print(w.grad)
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? è¿½è¨ ã2020å¹´çã»åå¿è åããç¬å¦ã§AIã¨ã³ã¸ãã¢ã«ãªããã人åãã®ãªã¹ã¹ã¡ã®åå¼·æ¹æ³ ãä¿åçã»åå¿è åããç¬å¦ã§AIã¨ã³ã¸ãã¢ã«ãªããã人åãã®ãªã¹ã¹ã¡ã®AIåå¼·æ¹æ³ ã¾ããPythonãæ©æ¢°å¦ç¿ããªã³ã©ã¤ã³ä¸ã§å¦ã¹ãAI Academyãnoteã§ãæ¸ãã¾ãããã3/17æ¥ããã»ã¨ãã©ã®ã³ã³ãã³ããæ°¸ç¶çã«ç¡æã§å©ç¨ã§ããããè´ãã¾ããã®ã§ãæ¯é使ã£ã¦é ãã¾ãã¨å¹¸ãã§ãã AI Academy Bootcamp æã ãæä¾ãã¦ããå人åããªã³ã©ã¤ã³AIãã¼ããã£ã³ãã®ãç´¹ä»ã§ãã AI Academy Bootcamp AI
ã»ããããèªããã°procrasistå ã§ã ãã¼ã¿åæã®ãåå¼·ãã¾ãã 使ãè¨èª python 触ããå 容 ãã¼ã¿åæã®è©±å ¨è¬(è«æ/è¨äºãªã©ãåèã«)ãç¹ã«âã®ã¸ã£ã³ã« æç³»ååæ/çµ±è¨ Metrics learning, 表ç¾å¦ç¿ ãã®ä»æ©æ¢°å¦ç¿/Deep Learning ãã®ä»é¢ç½ããã㯠pythonã©ã¤ãã©ãªã®åå¼·ãã¯ã³ã©ã³ã¯ä¸ã®åææè¡ã身ã«ã¤ããããã« numpy,pandas,scikit-learnã«ã¤ãã¦ç·ããã æ©æ¢°å¦ç¿ç³»ã©ã¤ãã©ãªã使ã£ã¦ã¿ã keras, pytorch, prophet, statmodels, ...etc... å®éã«ãã¼ã¿åæ ã¹ã¯ã¬ã¤ãã³ã°ã»ã¯ãã¼ãªã³ã°å¨ãã®æè¡ ããã°ã®ãã¼ã¿ãç¨ã㦠ãªã¼ãã³ãã¼ã¿ãç¨ã㦠ããã°ã ä¸è¨ã®ä½å²æ¸ããããããã¾ããããã§ããéãæ¸ããã¨æãã¾ããééã£ã¦ããã¨ãããªã©ãã£ãããã³ã¡ã³ããã ããã
ãã¾ãä»äºã®é¢ä¿ã§ãæ©æ¢°å¦ç¿ã®æç§æ¸çãªæ¸ç±ãèªãã ããªã³ã©ã¤ã³è¬åº§ãåè¬ãããããªãããµã³ãã«ããã¥ã¼ããªã¢ã«ãåããã¦åå¼·ãã¦ãã¾ãã æ©æ¢°å¦ç¿ãåå¼·ããã¨ãã¯ãPythonã®ç°å¢ãæ§ç¯ããJupyterNotebookã使ã£ã¦ãå®éã«æã¨é ãåãããªããè¡ãã®ãå¹ççã§ããããã¢ã«ã´ãªãºã ã®çè«ãã®ãã®ã®ç解ããã§ã«ããã©ãä¸ãéå¦ç¿å¯¾çã®ããã®æ£ååãæ±åæ§è½ã®è©ä¾¡ãã¯ãã¹ããªãã¼ã·ã§ã³ãä¸åè¡¡ãã¼ã¿ãå°ãªããã¼ã¿ã¯ã©ãããã°ãããããªã©ãªã©ãã¡ãã¡é£ãããã¨ãæ°å¤ãåå¼·ããªããã°ãªãã¾ããã ãã®ä¸ããããæ©æ¢°å¦ç¿ã§ã®å¦ç¿ã¯ã1度ããã°çµããï¼ã§ã¯ãªãããã©ã¡ã¼ã¿ãã¥ã¼ãã³ã°ãããããã¼ã¿ãå¢ããããå å·¥ãããããªãããç¹°ãè¿ããªãã©ãè¡ãå¿ è¦ãããã¾ããä¸è¦ãã¸ãã¹å¯ãï¼ã¢ã«ãããã¯ãªé°å²æ°ãé¸ãåºãã¦ãã¾ãããå®éã®ã¨ããã¯ãé常ã«æ³¥èãä½æ¥ã®ãªã³ãã¬ã¼ãã§ãã ãããããã
ï¼ã«æã»ã©åãããæ±äº¬å¤§å¦ã®æ¾å°¾ç ã®ãã£ã¼ãã©ã¼ãã³ã°å ¬éè¬åº§ã«è¡ã£ã¦ããã ãããã§åéãã¦ããã®ã§ããã¦ã¦ç³ãè¾¼ãã ããã¨ãã§ããªãæ°ã®äººãéã¾ã£ã¦ãã¦ç±æ°ãããããå¦é¨çãé¢çã社ä¼äººããããã¦300人以ä¸ãåæã«ææ¥ãåãã¦ããã ååããã人工ç¥è½æ¦è«ã®ãããªè©±ã ã£ãããã©ã2åç®ä»¥éã¯ãã®ãããé度ã§ææ¥ãé²ããããã¦å®¿é¡ã®éã¨è³ªããããã2åã¨3åç®ã®ææ¥ã ãã§ãæ®éã®å¦æ ¡ã®åå¹´åãããã®å 容ã«ãªã£ã¦ããæ°ããããæ±å¤§ãã»ãã¨ã«ãã¹ã¼ãã æ¯åãææ¥ã®åé ã¯ããµããµããããããã¨ã¯ãã¾ãã®ã ããã©ãçµããéè¿ã«å¤§éã®ãµã³ãã«ã³ã¼ããè¦ãããã¦ãããããããå¢ãã§èª¬æãããæå¾ã«ã´ãã¤å®¿é¡ãåºããææ¥çµäºå¾ã¯ããã«ã¼ã³ã£ã¦ãªãï¼ææ¥ä¸ã«ããã¶ç解ãã¦ããã²ã¨ãã©ãããããããã ããï¼ã å人ã®ç©æ¸å ã®ç¤¾é·ã®åºç¬ããï¼iPhoneè¾æ¸ã¢ããªéçºã®å¤§å¾¡æï¼ï¼ãããã¾ãã¾ãã£ããã«è¬
ã¿ããªã®IoT/ã¿ããªã®Pythonã®èè ãäºåçè¿ã160平米ã®åºä»ãä¸æ¸å»ºã¦ã«å«/æ¯å/å¨/ãããã¨æ®ããã¦ã¾ããæé1000ä¸PV/150ä¸UUã®Webãµã¼ãã¹éå¶ä¸ã å 責äºé ãã©ã¤ãã·ã¼ããªã·ã¼ ã¿ããªã®Python 第åçã®ãµã³ãã«ã³ã¼ããå ¬éã«åãæ´åãã¦ããã¨ãï¼ã¡ãã£ã¨ãããªãã±ã®æç« ãããã¨ããããªã¨æã£ã¦æ¸ããè¦ãã¨ããï¼ä¸é¨ã«å¥½è©ã ã£ãã®ã§å ¬éãã¦ã¿ããã¨æãã¾ãã ãªãã± : ããã°ã©ãã³ã°åä¸éã®ã³ã ãã®Notebookã§ã¯ï¼æèãèªãã§ï¼ãã®å¾ã©ãããã ï¼ã¨ãããã¨ã«ã¤ãã¦ï¼æ¸ç±ã«ã¯è¼ããªããããªç ãããããã§æ¸ãã¦ã¿ããã¨æãã¾ããããã°ã©ãã³ã°ãä¸éãããããã®ã³ãã«ã¤ãã¦ï¼ã¤ãã¤ãæ¸ãã¦ã¿ã¾ãããã©ããã ç®æ¨ãè¨å®ããã ã¾ãã¯ï¼Pythonã使ã£ã¦ãªã«ããããã®ãï¼ã´ã¼ã«ãæ確ã«ãã¾ãããã ãWebã¢ããªãä½ãããããRaspberry Piã§
å°å¥³ï¼èããããã¨ããããã ãã©ãããã°ã©ãã³ã°ã¨ãããï¼ å°å¹´ï¼ããªãã å°å¥³ï¼åã«ä½ãã¡ããã¡ããã£ã¨ä½ã£ã¦ããã¨ãªãã£ãï¼ å°å¹´ï¼ã³ã³ãã¥ã¼ã¿å¨ãã®éç¨ãããããã¹ã¯ãªããã®ãã¨ï¼ã大æµã¯æ°è¡ãããã®ä½¿ãæ¨ã¦ã ãã©ãç¹°ãè¿ã使ã£ã¦ãã®ã¯ãè¿ä»£ãã¸ã¿ã«ã©ã¤ãã©ãªã¼ãããã¦ã³ãã¼ããã¦ä¸ã¤ã®ãã¡ã¤ã«ã«ã¾ã¨ãã奴ãããã å°å¥³ï¼ãããã欲ãããããããã®ã£ã¦ã©ããã£ããä½ããããã«ãªãã®ï¼ å°å¹´ï¼ãã¼ããããããã®ã¯ç¦ç ããã詳ãããã ãã©ããã使ã£ã¦ãã®ã¯Pythonã£ã¦ããã°ã©ãã³ã°è¨èªã ãã©ããããç¦ç ããã®ãªã¹ã¹ã¡ã ã£ããã å°å¥³ï¼ãããªãã ããããä»åº¦ä¸ç·ã«ç¦ç ããã¨ãè¡ããªãï¼ å°å¹´ï¼ãããããã¯ã¡ãã£ã¨ã å°å¥³ï¼ããï¼è¦æã ã£ãï¼ å°å¹´ï¼å°ããã³ã³ãã¥ã¼ã¿ã®è©±ã«ãªãã¨ããã®äººã¡ãã£ã¨â¦ï½¥ï½¥ï½¥ã å°å¥³ï¼ãµã¼ãããããç¦ç ããã«æãã£ããã¨ãæãã¦ã å°å¹´ï¼æãã£ãã£ã¦ãã£ã¦ã大
Photo by photobom ããã«ã¡ã¯ãè°·å£ã§ãã ããã°ã©ãã³ã°ãããããå¦ã¼ãã¨ãã¦ããæ¹ããããããç ä¿®ãå®åã«å ¥ãæ°äººITã¨ã³ã¸ãã¢ã®çããã®ä¸ã«ã¯ãPythonãå¦ç¿ããããã¨ããæ¹ãå¤ãããã£ããããã¨æãã¾ãã Pythonã¯1990年代ååãããªã©ã³ã人ã®ã°ã¤ãã»ã´ã¡ã³ãããµã ã«ãã£ã¦éçºããããªãã¸ã§ã¯ãæåã¹ã¯ãªããè¨èªã§ãã Pythonã¯ææ³ãå¿ è¦æå°éã«æãããã¦ãããITã¨ã³ã¸ãã¢ã®å¦ç¿ã®è² æ ã軽æ¸ãããéçºè¨èªã¨è¨ããã¦ãã¾ãã æµ·å¤ã§ã¯ãè¿å¹´Pythonã«ããéçºãæ¥éã«å¢å ãã¦ãããå種ã¢ã¸ã¥ã¼ã«çãå å®ãã¦ãã¾ããGoogleã®éçºã«ç½®ããã¡ã¤ã³ã®ã¹ã¯ãªããè¨èªã¨ãããã¦ãã¾ãã æ¥æ¬å½å ã§ããèªã¿ãããï¼ï¼ä¿å®æ§ï¼ãéè¦ããä¼æ¥ããã¹ãã¼ããã©ã³ã®ããã¯ã¨ã³ãçã§ã¯ç©æ¥µçã«åãå ¥ããä¼æ¥ãå¢å ãã¦ãã¦ãããããããã®ä¸å±¤ã®æ®åãæå¾ ãããè¨èªã§
æ©æ¢°å¦ç¿ã«ã¯æ§ã ãªç¨®é¡ã»ã¢ã«ã´ãªãºã ãåå¨ãããããããã«ã»ã¨ãã©100%å ±éãã¦è¨ããã®ã¯ãæ©æ¢°å¦ç¿ã¨ã¯ ããã¼ã¿ã®åé¡ãè¨ç®æ©ã§èªååããã æè¡ã§ããã ç¾ä»£ç¤¾ä¼ã§ã¯è³ãæã«æ©æ¢°å¦ç¿ãå¿ç¨ããã¦ããããã¹ãã ãã£ã«ã¿ãè¨èªå¤å®ãæåèªèãå«ãæ®ãæ©æ¢°å¦ç¿ã¯ ãè¨ç®æ©ã§èªåçã«åãåã£ããã¼ã¿ãããããã®ã¯ã©ã¹ã«åé¡ããããã¨ã«ãªãã æ©æ¢°å¦ç¿ã®ç¨®é¡ æ©æ¢°å¦ç¿ã«ã¯å¦ç¿ã®ä»æ¹ã«ãã£ã¦ããã¤ãã®ç¨®é¡ãããã æ師ããå¦ç¿(Classification) å¦ç¿æã«å¦ç¿ãã¼ã¿ã¨ã©ãã«ï¼ã¤ã¾ãçãï¼ãä¸ç·ã«å¦ç¿ããããææ¸ãæ°åèªèãªã å¦ç¿ãã¼ã¿: ææ¸ãæ°åã®ç»ç´ ã©ãã«: ææ¸ãæ°åã0ã9ã®ã©ããªã®ã æ師ãªãå¦ç¿(Clustering) å¦ç¿æã«ã©ãã«ãä¸ãããå¦ç¿ã¢ã«ã´ãªãºã ã«åæã«ãããæãã®ãå¢çãä½ã£ã¦ãã¼ã¿ãåé¡ããããä¾ãã°èªç¶è¨èªã§æ¸ãããããã¹ãã®åé¡ãªã©ã çºè¨ãèªå
ãæ©æ¢°å¦ç¿ãã¨ããã¯ã¼ãã«ãªãã¨ãªãæ¹ããã¤ã¤ããå ·ä½çã«ãããããã¨ãããããã§ããªãã®ã§ãæãåãããã¨ãªããã ã²ãããããã¤ããããããã«è§£èª¬è¨äºããã¥ã¼ããªã¢ã«è¨äºãéããæ¥ã ãéããã¦ããã®ã§ããããã®ã¾ã¾ããã¤ã«ã³ï¼ã¨ Machine Learning Advent Calendar 2014 - Qiita ã«åå ç»é²ãã¦ã¿ã¾ããã ãããã¯ãä½ãããªãã¾ã¾å½æ¥ãè¿ãã¦ãã¾ã£ãã®ã§ããè¶æ¿ãã§ã¯ããã¾ãããããã¦ãæ©æ¢°å¦ç¿ã£ã¦ã©ããªææ³ãã©ã¤ãã©ãªããã£ã¦ãã©ããªå¿ç¨å ãããã®ãï¼ãã¨ãããããããã£ããææ¡ãã¦æåã«ä½ãããã®ãæ¹åä»ããããããã«ãããã¾ãã«ãã¾ã£ãæ©æ¢°å¦ç¿ç³»ã®è¨äºããã£ããæ´çãã¦ã¿ããã¨æãã¾ãã æ©æ¢°å¦ç¿ã®æ¦è¦ ç¹å®ã®ã©ã¤ãã©ãªãææ³ã®è©±ã§ã¯ãªããæ©æ¢°å¦ç¿å ¨è¬ã«é¢ãã解説ã æ©æ¢°å¦ç¿ãã¥ã¼ããªã¢ã«@Jubatus Casual Talks æ©æ¢°å¦ç¿ã
æ¨æ¥ã¨ã³ããª( http://uzulla.hateblo.jp/entry/2014/03/08/050621 )ãæ¸ããKodingã§ããã詳ããã¯æ¨æ¥ã®ã¨ã³ããªãè¦ã¦ããã ãã¨ãã¦ãä»åº¦çºå£²ããããWebã¢ããªã¨ã³ã¸ãã¢é¤æèªæ¬ããKodingã§åå¼·ããã«ã¯ã©ãããã°ãããæ¸ãã¦ã¿ã¾ãã Webã¢ããªã¨ã³ã¸ãã¢é¤æèªæ¬[ããã¿ãéçºãç°å¢æ§ç¯ã»éç¨â¦å ¨ä½åãææ°ç¥èã§æåãã! ] (Software Design plus) ä½è :åç° è£ä»,ç³ç° çµ¢ä¸ (uzulla),ãããã ã¾ãã®ã,æè¤ ç¥ä¸éæè¡è©è«ç¤¾Amazon çµæã¨ãã¦ãKodingãã¤ããã°ãChromeãFirefoxãPCã«ã¯ãã£ã¦ããã°ãPCã«ä½ãã¤ã³ã¹ãã¼ã«ãããã¨ãªããã©ã¦ã¶ä¸ã¤ã§å¦ç¿ãã§ãã¾ããã ãã®ã¨ã³ããªã«è¨è¼ããã¦ããã㨠ã»Kodingã®ã¢ã«ã¦ã³ãåå¾ ã»ç»é¢ã®ç°¡åãªèª¬æ ã»PHPãã¡ãã£
å·çé£12人ä¸8人ãç´æ¥ã®ç¥äººå人ã¨ãããã®æ°åæ¸ã§ãããã¾ããã ãã¼ã¿ãµã¤ã¨ã³ãã£ã¹ãé¤æèªæ¬ [ããã°ãã¼ã¿æ代ã®ãã¸ãã¹ãæ¯ãããã¼ã¿åæåã身ã«ã¤ã! ] (Software Design plus) ä½è : ä½è¤æ´è¡,åç°åæ¤,ä¸ç°å«å¤§,大æå¼å,奥éæè£,ä¸å·å¸äºº,æ©æ¬æ¦å½¦,éæ´å¹³,åç°è¨ä¹,æ©å·æ¦å£«,åæ©ä¸æåºç社/ã¡ã¼ã«ã¼: æè¡è©è«ç¤¾çºå£²æ¥: 2013/08/08ã¡ãã£ã¢: 大åæ¬ãã®ååãå«ãããã° (4件) ãè¦ã ãã¡ããåãçºåã決ã¾ã£ã¦Amazonã«äºç´ãã¼ã¸ãã§ããæç¹ã§ãããã¾ãã¦ãèªãã§ã¿ãã¨ãããã¾ãã«ãå 容ãç´ æ´ãããã£ãã®ã§æ©éç¾è·å ´ã®å³æ¸ã³ã¼ãã¼ã«æã¡è¾¼ãã 次第ã§ãï¼ç¬ï¼ãã¨ãããã¨ã§ãåè¶ãªããæ¸è©ãªã©æ¸ããã¦é ãããã¨æãã¾ãã ãã£ããå å®¹ç´¹ä» æ£ç´è¨ã£ã¦ããã®ããã¼ã¼ã¼ãç¶²ç¾ çã§é常ã«ããåºæ¥ã¦ãã¾ãã1ãã¼ã¸ç®ããé ã«èªãã§ãã£ã¦ãåå¦
Google App Engineã§ã®Pythonã®åå¼·ã¨éçºã¯é²ãã§ãã¾ããï¼ GAEã§Pythonãå§ããã¨ãã«ç¥ããã4ã¤ã®ã¾ã¨ã ãããæ¸ããæ¬äººã¯ã¨ããã¨â¦ã¾ã£ããé²ãã§ãã¾ããã Learn Python The Hard Wayãå°ãèªãã ç¨åº¦ã§ãã è¨ã訳ãªãã¦ãããã§ãåºæ¥ã¾ããã ãã¼ã£ã¨ãä»äºãå¿ãããããä»äºãå¿ãããããããã¦ä»äºãå¿ããããã ãã£ãããä»äºä»¥å¤ã®åå¼·ã®æéãåã£ã¦ãããªãã¨ããã£ã¨è¨ãéã«ç½®ãã¦ããã¾ãã ããã¦ãâæ°ãããã¨ãå¦ã¶âã¨ããã®ã¯æ¥ã ã®ã¢ããã¼ã·ã§ã³ã«ç¹ããã¾ãããã åç½®ãã¯ããã¾ã§ã«ãã¦ãä»æ¥ã¯ã¿ã¤ãã«éãã Pythonã®åå¼·ãã¾ã£ããå§ããããªãããªãã¨ç§ã«éã8ã¤ã®ã¿ã¹ã¯ ãç´¹ä»ãã¾ãã ãããã¿ã¤ãã«ã«æå¾ ãã¦ãâããããããã°Pythonãã¹ã¿ã¼ã«ãªããï¼âã¨æã£ã¦ããæ¹ã«ã¯ããããªããã 99%ã¯âPyt
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}