NCAAå ¨ç±³å¤§å¦ãã¹ã±ã®åæäºæ¸¬ ~ kaggleã®ãã¼ã¿ã³ã³ã
kaggleã§é¢ç½ãããªãã¼ã¿ã³ã³ããã£ã¦ã
äºæ¸¬ã¢ãã«ããã¼ã¿åæã®ã³ã³ããã£ã·ã§ã³ã®kaggleã ä»åã¯ã¹ãã¼ãã«é¢é£ããã³ã³ãã§ã大å¦ãã¹ã±ã®åæ(åç)äºæ¸¬ã§ãã
NCAAã£ã¦ãªãã ãï¼
ãã¹ã±ã¯å ¨ç¶è©³ãããªãã®ã§ããNBAã¯ç¥ã£ã¦ããã©ãNCAAã£ã¦èãããã¨ããªãã£ãã ãã®è¾ºã®åæç¥èããªãã¨ãäºæ¸¬ãã§ããªãã¨æãã®ã§ãã¡ãã£ã¨èª¿ã¹ã¦ã¿ãã
ã¾ããNCAAã¨ã¯ãã¢ã¡ãªã«å¤§å¦ä½è²åä¼(National Collegiate Athletic Association)ã®ãã¨ã§ããã¹ã±ã¨ãéçã¨ããã¢ã¡ãããããã±ã¼ãªã©ãªã©ãããããªå¤§å¦ã¹ãã¼ããéå¶ãã¦ãããããã§ãã
ã¤ã¾ããNCAAãã¹ã±ã¯å ¨ç±³å¤§å¦ãã¹ã±ãã¼ã ã®NO.1ã決ãã大ä¼ã¨ããããã§ããã
åºå ´æ ¡ã¯ãåå°åºã¬ã®ã¥ã©ã¼ã·ã¼ãºã³ãåã¡ä¸ãã£ã代表68ãã¼ã ããã¼ãã¡ã³ãã¯3æéä¸ãã試åãå§ã¾ããã¢ã¡ãªã«å ¨åãç±çããããããããã¼ãããããã¹ãã¨å¼ã°ãã¦ãããã§ãã詳ããã¯ããã®ããããâ WOGのNCAA講座!
kaggleãããã¦ã³ãã¼ããããã¼ã¿
- åãã¼ã ã®ãã¼ã¿(idã¨ååã ã)
- ã¬ã®ã¥ã©ã¼ã·ã¼ãºã³ã®è©¦åçµæ(å¾å¤±ç¹)
- ãã¼ãã¡ã³ãã®è©¦åçµæ(å¾å¤±ç¹)
- ãã¼ãã¡ã³ãã®çµã¿åãã
以ä¸ã®ãã¼ã¿ã18å¹´åãããã¾ãã
å®éã«äºæ¸¬ãããã®ã¯ãå試åã®åæã\( y_i \)ã¯åæã®çµæã0 or 1ã\(n\)ã¯ã²ã¼ã æ°ã\( \hat{y}_i \)ã¯åçãåºæ¬çã«å ¨ã¦ã®é ã«ããã«ãã£ãã¤ãã¦ãåçãé«ãäºæ³ãã¦åã£ãã¨ãã«ã¯å°ããããã«ãã£ãè² ãã¦ãã¾ã£ãã大ããªããã«ãã£ã«ãªãã¾ãã åããããã®å®åã®ã¨ãã¯ãã©ã¡ããåªå¢ãåãããªãã®ã§ãåçã0.5ã«è¨å®ãã¦ãå·ãæµ ããããããªã¤ã¡ã¼ã¸ã ããã«ãã£ã®ç·åãå°ããã»ã©ãæ£ç¢ºãªäºæ¸¬ã¨ãããã¨ã§ãã
\( \textrm{LogLoss} = - \frac{1}{n} \sum_{i=1}^n \left[ y_i \log(\hat{y}_i) + (1 - y_i) \log(1 - \hat{y}_i) \right] \)
ãã§ã¹ã®ã¬ã¼ãã£ã³ã°
ã¨ãããããkaggleã®ãã³ããã¼ã¯ã«ãã§ã¹ã®ã¬ã¼ãã£ã³ã°ã¢ãã«ã使ã£ããã®ããã£ãã®ã§ãããã試ãã¦ã¿ã¾ãã
è¨ç®æ¹æ³ã¯ãwikipediaãã¿ã¦ããã ãã¦ãã イロレーティング - Wikipedia
ã©ããã§ã¿ããã¨ããæ°å¼ã ã¨æã£ãããæ ç»ãã½ã¼ã·ã£ã«ãããã¯ã¼ã¯ãã§ãã¶ãã«ã¼ãã¼ã°éããfacemashãã®ã¢ã«ã´ãªãºã ã¨ãã¦ãçªã«æ¸ãã¦ãã¾ãããã
å¼·ããã¼ã ããåã¤ã¨ã¬ã¼ãã£ã³ã°ã大ããããããå¼±ããã¼ã ã«è² ããã¨ã¬ã¼ãã£ã³ã°ã大ããä¸ããã¾ãã
ã¨ãããããcsvã®ãã¼ã¿ãMySQLã«ã¶ã¡è¾¼ãã§ã18å¹´åã®è©¦åçµæãåºã«ãåæ ¡ã®ã¬ã¼ãã£ã³ã°ãè¨ç®ãã¦ã¿ã¾ããã ä¸ä½æ ¡ã¯ã
é ä½ | 大å¦å | ã¬ã¼ãã£ã³ã° |
---|---|---|
1st | Kentucky | 1772 |
2nd | North Carolina | 1769 |
3rd | Louisville | 1767 |
4th | Kansas | 1759 |
åèã¾ã§ã«ã2013å¹´ã®åªåã¯Louisvilleãæºåªåã¯Michiganã2012å¹´ã¯åªåãKentuckyãæºåªåãKansasã ã¡ãªã¿ã«æä¸ä½ã®å¤§å¦(578)ããLouisvilleã¨è©¦åãããã¨åç0.1%ã¨ãªã£ã¦ãã¾ãã¾ãã ãã§ã¹ã®ã¬ã¼ãã£ã³ã°ã«ã¯ãã¬ã¼ãå·®ã200以ä¸ããã¨ãã¯ãåçã75%ã«åºå®ãããã¨ããã«ã¼ã«ãããã¾ãããã¬ã¼ãå·®ãéãã¦ãã¨ãã®åçããã¾ããã¨æ±ºãããã¨ãã§ããã°ãããã¹ã³ã¢ãåºãããã§ãã
3æã¯ã¹ãã¼ããã¼è¡ã£ã¦ãäºæ¸¬çµæãè¦ãªããã¯ã¤ã¯ã¤è¦³æ¦ãã¾ãã