$30 off During Our Annual Pro Sale. View Details »

Kaggle Rコンペ解法紹介

Kaggle Rコンペ解法紹介

Kaggle Tokyo Meetup 裏 #01

Shuhei Goda

July 13, 2019
Tweet

More Decks by Shuhei Goda

Other Decks in Technology

Transcript

  1. ίϯϖͷ֓ཁ !3 w ಺༰  (PPHMF.FSDIBOEJTF4UPSFͷސ٬͋ͨΓͷऩӹΛ༧ଌ͢Δ w ։࠵ظؒ  ʙ

    w ࢖༻σʔλʹ͍ͭͯ  (PPHMFBOBMZUJDTͰऔಘͰ͖Δσʔλ  ֎෦σʔλΛ࢖༻Մೳ w ͦͷଞ  ௨শ3ίϯϖʢओ࠵͕3TUVEJPʣ
  2. w (PPHMF"OBMZUJDT͔ΒऔಘͰ͖Δσʔλͷ͏ͪҰ෦͕ఏڙ͞ΕΔ  LFZ͸ GVMMWJTJUPS*E WJTJU*E σʔλͷ֓ཁ !5 ม਺໊ ಺༰

    ܕ GVMMWJTJUPS*E ϢʔβʔͷJE  WJTJU*E ηογϣϯͷJE  EBUF ηογϣϯͷ೔෇ %BUF USBOTBDUJPO3FWFOVF ηογϣϯதͷऩӹ /VNFSJD EFWJDF Ϣʔβʔͷ୺຤৘ใ $BUFHPSZ USB⒏D4PVSDF τϥϑΟοΫͷࢀরݩ৘ใ $BUFHPSZ HFP/FUXPSL ϢʔβʔͷҐஔ৘ใ $BUFHPSZ UPUBMT ηογϣϯதͷΞΫγϣϯʹؔ͢Δूܭ৘ใ /VNFSJD
  3. -FBEFSCPBSE6QEBUF ճ໨ w σʔλظؒΛ৭ʑͱมߋͯ͠࠶ελʔτ   5SBJOʢ೥ϲ݄ʣ 1VCMJD ʢ̒ϲ݄ʣ 

    1SJWBUF ʢϲ݄ʣ     5SBJOʢ೥ʣ 5FTU ʢϲ݄ʣ  !12 ࠶ελʔτޙͷઃఆ ࠷ॳͷઃఆ
  4. Ϟσϧͷશମ૾ !14 w ηογϣϯ୯ҐͷϞσϧͱϢʔβʔ୯ҐͷϞσϧͷΞϯαϯϒϧ ηογϣϯ୯ҐͷϞσϧ MJHIUHCN  ηογϣϯຖͷऩӹΛ༧ଌ Ϣʔβʔ୯ҐͷϞσϧ MJHIUHCN

     Ϣʔβʔຖͷ૯ऩӹΛ༧ଌ Ϣʔβʔ୯ҐͷϞσϧ MJHIUHCN  લஈͷ༧ଌ஋ͷجૅ౷ܭྔΛ
 ಛ௃ྔͱͯ͠࢖༻ ΞϯαϯϒϧʢFMBTUJDOFUTUBDLJOHʣ 1PTUQSPDFTTJOH
 UPUBMCPVODFT
  5. w ࣌ؒํ޲Ͱަࠩݕূ͢ΔͷͰ͸ͳ͘ɺϢʔβʔຖʹ۠੾࣮ͬͯࢪ  ηογϣϯ୯ҐͷϞσϧˠ(SPVQ,'PMEʢϢʔβʔͰ੾Δʣ  Ϣʔβʔ୯ҐͷϞσϧˠ,'PMEʢηογϣϯ୯ҐϞσϧʹ߹ΘͤΔʣ  ཧ༝ͱͯ͠͸ 㾎ΞϯαϯϒϧͷͨΊʹɺUSBJOσʔλͷશϢʔβʔͷPPG WBMVF

    USBJOظؒதͷ༧ଌऩӹͷ૯࿨ ͕ཉ͍͠ 㾎UJNFTQMJU΋࠷ॳͷஈ֊Ͱࢼ͍ͯ͠Δɻൺֱͨ݁͠ՌɺHSPVQLGPME Ͱ΋໰୊ͳͦ͞͏ͩͬͨ 㾎QVCMJDͱQSJWBUFͷظؒ͸ಉ͡ͳͷͰɺίϯαόʹWBMJEBUJPOΛઃఆ ͠ͳͯ͘΋໰୊ͳ͍ͩΖ͏ͱ൑அʢQVCMJDΛ౰ͯʹ͍͚͹ྑ͍ʣ $7ʹ͍ͭͯ !15
  6. w ΧςΰϦσʔλͷಛ௃ྔ  EFWJDFܥɺUSB⒏D4PVSDFܥ͸໊دͤͯ͠ΧςΰϦม਺Խ  ਺஋σʔλΛΧςΰϦຖʹू໿ͯ͠ΤϯίʔσΟϯά  ΧςΰϦม਺ͷຒΊࠐΈදݱʢ-%"ʣ  5BSHFUFODPEJOH

     'SFRVFODZFODPEJOH w ਺஋σʔλͷಛ௃ྔ  UPUBMܥCPVODFT IJUT QBHFWJFXT IJUT QBHFWJFXT  #BTJD'FBUVSFʢηογϣϯ୯Ґʣ !17