Save 37% off PRO during our Black Friday Sale! »

Data Science BOOTCAMP Practices - Recommendation

Data Science BOOTCAMP Practices - Recommendation

レコメンデーションの制作演習のスライドです。中に解答例のリンクも掲載しています。
G's Academy Data Science Bootcamp

2dfd5e0acd70adff0e2efc745d992396?s=128

Yohei Munesada

May 09, 2017
Tweet

Transcript

  1. Data Science BOOTCAMP Ϩίϝϯσʔγϣϯ࡞੒ Yohei Munesada

  2. About Me 㾎फఆ༸ฏ ΉͶͩ͞Α͏΁͍ 㾎 ג αΠόʔΤʔδΣϯτ 㾎(`TΞΧσϛʔϝϯλʔ 㾎IUUQXXXZPIFJNOFU 㾎๻ͱσʔλαΠΤϯε

  3. Time tables 19:30ʙ19:40ɹΦʔϓχϯάͱࠓ೔ͷׂ࣌ؒ 19:40ʙ19:50ɹάϧʔϓϫʔΫઆ໌ 19:50ʙ20:30ɹάϧʔϓϫʔΫʢൃද४උʣ 20:30ʙ20:40ɹٳܜ 20:40ʙ21:30ɹάϧʔϓผൃදʢ5෼ x 7νʔϜ +

    αʣ 21:30ʙ21:40ɹ࣍ͷ՝୊ͷઆ໌ʢ͞Βͬͱʣ 21:40ʙ21:50ɹάϧʔϓϫʔΫʢऔΓ૊Έ಺༰ͷڞ༗ͱϒϥογϡΞοϓʣ 21:50ʙ22:00ɹऔΓ૊Έ಺༰ͷൃදʢ30ඵ x 7νʔϜ + αʣ
  4. Exercises - MovieLens  .PWJF-FOTΛ༻͍ͨϨίϝϯσʔγϣϯͷߏங ඞਢ՝୊ .PWJF-FOTͱ͍͏ެ։σʔλʹ͸ɺөըͷ৘ใɺϢʔβʔͷөըʹର͢Δ৘ใ ͳͲؚ͕·Ε·͢ɻͦΕΒσʔλΛ༻͍ͯϨίϝϯυγεςϜΛߏங͍ͯͩ͘͠͞ɻ ٻΊΔΞ΢τϓοτ ɹɾϢʔβʔʹରͯ͠өըΛਪન͢Δ

    ϙΠϯτ ɹɾਪનʹ͍ͭͯͲͷΑ͏ʹػցֶश໰୊ͱͯ͠ఆٛ͢Δ͔ʁ ɹɾͳͥͦͷϞσϧΛબ୒͢Δͷ͔ʁ ɹɾ༧ଌ݁ՌͷධՁ݁Ռ͸ʁͲͷΑ͏ʹධՁ͢Ε͹ྑ͍͔ʁ
  5. Exercises - MovieLens

  6. Presentation contents  ʢՄೳͰͨ͠ΒʣσϞ  ͲͷΑ͏ͳػցֶश໰୊ͱͯ͠ఆ͔ٛͨ͠ʁ  ͲͷΑ͏ͳ࣮૷Λ͔ͨ͠ʁ  ͲͷΑ͏ʹϞσϧΛධՁ͔ͨ͠ʁ

     ޻෉ͨ͠ͱ͜Ζɺۤ࿑ͨ͠ͱ͜Ζ  ͦͷଞओு͍ͨ͜͠ͱΛͲ͏ͧʂ
  7. Group work  ݸਓͰͷ੒ՌΛνʔϜ಺Ͱൃද͢Δ  νʔϜͱͯ͠ͷൃද಺༰Λ࡞੒͢ΔʢϓϨθϯܗࣜ͸ࣗ༝ʣ άϧʔϓϫʔΫΛߦ͍·͢ ʢʙʣ  ʢՄೳͰͨ͠ΒʣσϞ

     ͲͷΑ͏ͳػցֶश໰୊ͱͯ͠ఆ͔ٛͨ͠ʁ  ͲͷΑ͏ͳ࣮૷Λ͔ͨ͠ʁ  ͲͷΑ͏ʹϞσϧΛධՁ͔ͨ͠ʁ  ޻෉ͨ͠ͱ͜Ζɺۤ࿑ͨ͠ͱ͜Ζ  ͦͷଞओு͍ͨ͜͠ͱΛͲ͏ͧʂ ϓϨθϯ಺༰
  8. Take a break ͓ർΕ༷Ͱͨ͠ɺٳܜͰ͢ ʢʙʣ

  9. How is your recommend system ? ൃදͷ͓࣌ؒͰ͢ʂ

  10. How is your recommend system ? ղ౴ྫ https://goo.gl/4jGdHI

  11. Next exercises  .PWJF-FOTΛ༻͍ͨϨίϝϯσʔγϣϯͷߏங  ࠃ੎ௐࠪσʔλΛ༻͍ͨσʔλαΠΤϯε  ೚ҙͷެ։σʔλΛ༻͍ͨػցֶश  ػցֶशܥΫϥ΢υ"1*Λ༻͍ͨαʔϏε։ൃ

    ඞਢ՝୊ બ୒՝୊
  12. Next exercises - ࠃ੎ௐࠪ  ࠃ੎ௐࠪσʔλΛ༻͍ͨσʔλαΠΤϯε બ୒՝୊ ࠃ੎ௐࠪσʔλ͔ΒਓޱɺՈ଒ߏ੒ɺ৬ۀͳͲ༷ʑͳ৘ใΛಘΔ͜ͱ͕Ͱ͖·͢ɻ ԿΒ͔ͷϏδωε՝୊Λఆٛͨ͠ͷͪʹɺࠃ੎ௐࠪσʔλΛ༻͍ͯϏδωεͷ ҙࢥܾఆΛॿ͚Δ৘ใΛఏ͍ࣔͯͩ͘͠͞ɻ

    ٻΊΔΞ΢τϓοτ ɹɾఆٛͨ͠Ϗδωε՝୊͸Կ͔ʁ ɹɾͦΕʹରͯ͠ࠃ੎ௐࠪσʔλΛͲͷΑ͏ʹ׆༻͔ͨ͠ʁ Ϗδωε՝୊ྫ ɹɾ*5ڭҭϏδωεΛల։͍ͨ͠ɻͲͷࢢொଜΛλʔήοτʹ͢Δ΂͖͔ʁ ɹɾϑΟϦϐϯਓʹ޲͚ͨΧϑΣϏδωεΛߦ͍͍ͨɻͲ͜Ͱ΍Δ͔ʁ ɹɾͳͲ
  13. ར༻Մೳͳσʔλ ɹIUUQXXXTUBUHPKQEBUBLPLVTFJJOEFYIUN Next exercises - ࠃ੎ௐࠪ  ࠃ੎ௐࠪσʔλΛ༻͍ͨσʔλαΠΤϯε બ୒՝୊

  14. Next exercises - ࠃ੎ௐࠪ

  15. Next exercises - ೚ҙͷσʔλͰʂ  ೚ҙͷެ։σʔλΛ༻͍ͨػցֶश બ୒՝୊ ੈͷதʹ͸༷ʑͳσʔλ͕ެ։͞Ε͓ͯΓɺػցֶशʹར༻Ͱ͖Δσʔλ΋ ଟʑଘࡏ͠·͢ɻڵຯͷ͋Δσʔλʹ͍ͭͯԾઆΛఆٛͯ͠ػցֶशΛߦ͍ɺ ԿΒ͔ͷ੒ՌΛग़͢औΓ૊ΈΛ͍ͯͩ͘͠͞ɻ

    ٻΊΔΞ΢τϓοτ ɹɾͲͷΑ͏ͳσʔλΛ࢖͏͔ʁ ɹɾͲΜͳԾઆΛઃఆ͔ͨ͠ʁ ɹɾͲͷΑ͏ͳ੒ՌΛಋ͍ͨͷ͔ʁ·ͨͦΕΛͲͷΑ͏ʹಋ͍ͨͷ͔ʁ
  16. ར༻Մೳͳσʔλྫ ɹ6$*.BDIJOF-FBSOJOH ɹɹIUUQBSDIJWFJDTVDJFEVNM ɹࠃཱ৘ใֶݚڀॴ ɹɹIUUQXXXOJJBDKQETDJESEBUBMJTUIUNM ɹ%"5"(0+1 ɹɹIUUQXXXEBUBHPKQ ɹ*NBHF/FU ɹɹIUUQXXXJNBHFOFUPSH Next

    exercises - ೚ҙͷσʔλͰʂ ɹ,BHHMF ɹɹIUUQTXXXLBHHMFDPNEBUBTFUT ɹ-JWFEPPSχϡʔε ɹɹIUUQOFXTMJWFEPPSDPN ɹ౦ژϝτϩΦʔϓϯσʔλ ɹɹIUUQTEFWFMPQFSUPLZPNFUSPBQQKQJOGP ɹ5XJUUFS"1*ɺͳͲ  ೚ҙͷެ։σʔλΛ༻͍ͨػցֶश બ୒՝୊
  17. Next exercises - ೚ҙͷσʔλͰʂ

  18. Next exercises - ػցֶशAPIΛ࢖ͬͯʂ  ػցֶशܥΫϥ΢υ"1*Λ༻͍ͨαʔϏε։ൃ બ୒՝୊ (PPHMF"84"[VSF#JOH*#.ͷ֤αʔϏεͰػցֶशܥͷ"1*͕ ఏڙ͞Ε͍ͯΔʢྫɿإೝࣝɺԻ੠ೝࣝɺςΩετUPεϐʔνɺFUDʣɻ ͜ΕΒͷ"1*Λ࢖͍ɺԿΒ͔໾ཱͪͦ͏ͳΞϓϦαʔϏεΛ੍࡞͍ͯͩ͘͠͞ɻ

    ٻΊΔΞ΢τϓοτ ɹɾͲͷ"1*Λར༻͢Δͷ͔ʁ ɹɾԿʹ໾ཱͯΔͷ͔ʁͲͷΑ͏ͳαʔϏε͔ʁ ग़୊ҙਤ ɹɾֶशࡁΈͷϞσϧΛͲͷΑ͏ʹ࣮ੈքͰ׆͔͢ͷ͔ɺͦΕΛߟ͑ߦಈ͢Δɻ
  19. Next exercises - ػցֶशAPIΛ࢖ͬͯʂ

  20. Next exercises  .PWJF-FOTΛ༻͍ͨϨίϝϯσʔγϣϯͷߏங  ࠃ੎ௐࠪσʔλΛ༻͍ͨσʔλαΠΤϯε  ೚ҙͷެ։σʔλΛ༻͍ͨػցֶश  ػցֶशܥΫϥ΢υ"1*Λ༻͍ͨαʔϏε։ൃ

    ඞਢ՝୊ બ୒՝୊
  21. Group work  ݸਓͦΕͧΕͰऔΓ૊ΜͰ͍Δ಺༰ʢऔΓ૊Ή಺༰ʣΛڞ༗  ൃද಺༰·ͱΊʢϓϨθϯܗࣜ͸ޱ಄Ͱʣ άϧʔϓϫʔΫΛߦ͍·͢ ʢʙʣ

  22. Group work  ൃදʢͲͷΑ͏ͳ಺༰Λѻ͏͔ʣ άϧʔϓϫʔΫΛߦ͍·͢ ʢʙʣ

  23. Thank you ͦΕͰ͸ྑ͍σʔλαΠΤϯεΛʂ