Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WantedlyでFeature Storeを導入する際に考えたこと

WantedlyでFeature Storeを導入する際に考えたこと

第36回 MLOps 勉強会
https://mlops.connpass.com/event/300857/

Higuchi kokoro

November 29, 2023
Tweet

More Decks by Higuchi kokoro

Other Decks in Programming

Transcript

  1. ©2023 Wantedly, Inc.
    8BOUFEMZͰ'FBUVSF4UPSFΛ
    ಋೖ͢Δࡍʹߟ͑ͨ͜ͱ
    Higuchi Kokoro / @zerebom_3
    ୈճ.-0QTษڧձ

    View full-size slide

  2. ©2023 Wantedly, Inc.
    'FBUVSF4UPSFͱ͸ͳʹ͔
    8BOUFEMZʹಋೖͯ͠Ͳ͏͔ͩͬͨ
    ຊ೔ͷ͓࿩͢͠Δ͜ͱ
    Part1
    w 'FBUVSF4UPSFͱ͸ͳʹ͔
    w 'FBUVSF4UPSFͷඪ४తͳ࣮૷ߏ੒
    w 'FBUVSF4UPSFϓϩμΫτͷ঺հ
    8BOUFEMZͰ'FBUVSF4UPSFΛಋೖͨ͠എܠ
    Part2
    w 8BOUFEMZͷਪનγεςϜͷཁ݅
    w ͜Ε·Ͱͷ՝୊
    w 'FBUVSF4UPSFͷࣗ࡞ʹࢸͬͨഎܠ
    ࣗ࡞ͨ͠'FBUVSF4UPSFͷߏ੒
    Part3
    w શମߏ੒
    w ֤ػೳͷ࣮૷ߏ੒
    Part4
    w ࡞ͬͯྑ͔ͬͨ͜ͱ
    w ࣗ࡞ͯ͠ྑ͔ͬͨ͜ͱ
    w ΋ͬͱΑ͍ͨ͘͠ͱ͜Ζ
    ࡞ͬͨॴײ
    'FBUVSF4UPSF֓ཁ

    View full-size slide

  3. ©2023 Wantedly, Inc.
    ࣗݾ঺հձࣾ঺հ

    View full-size slide

  4. ©2023 Wantedly, Inc.
    Ṥޱ৺ )JHVDIJ,PLPSP

    ॴଐ8BOUFEMZ JOD
    9![FSFCPN@
    σʔλαΠΤϯςΟετͱͯ͠ਪનγεςϜͷਫ਼౓վળɾධՁɾ
    .-0QT·ΘΓͷ։ൃΛ͍ͯ͠·͢
    ਖ਼͘͠πʔϧ΍ϓϩάϥϛϯάݴޠΛ࢖͍ɺ

    ϩόετʹϓϩμΫτ։ൃ͢Δ͜ͱʹؔ৺͕͋Γ·͢
    ࣗݾ঺հ

    View full-size slide

  5. ©2023 Wantedly, Inc.
    Create A World Where Work Drives Passion.
    ڀۃͷదࡐదॴʹΑΓ

    γΰτͰίίϩΦυϧͻͱΛ;΍͢
    ձࣾ঺հ ࢲͨͪͷϛογϣϯ
    ©2023 Wantedly, Inc.

    View full-size slide

  6. ©2023 Wantedly, Inc.
    ձࣾʹ༡ͼʹߦ͜͏
    ňΧδϡΞϧ໘ஊʯͱ͍͏࢓ࣄ୳͠ͷ৽ج४
    • ਓͱνʔϜΛʮ૝͍ʯͰϚονϯά


    • ň࿩Λฉ͖ʹߦ͘ʯମݧΛ௨ͯ͡ϑϥοτͳग़ձ͍Λ૑ग़
    ਐԽΛଓ͚ΔUIͱج൫
    • ίϯςϯπ͕ө͑ΔϞμϯͰγϯϓϧͳUIදݱ


    • ΑΓຊ࣭తͳϚονϯάΛՄೳʹ͢ΔਪનΞϧΰϦζϜ
    ఏڙϓϩμΫτ

    View full-size slide

  7. ©2023 Wantedly, Inc.
    ࣄྫ঺հ ਓͱձࣾͷʮ྆૝͍ʯΛ࣮ݱ͢Δ૬ޓਪનγεςϜ

    View full-size slide

  8. ©2023 Wantedly, Inc.
    'FBUVSF4UPSF֓ཁ
    'FBUVSF4UPSFͱ͸ͳʹ͔
    'FBUVSF4UPSFͷඪ४తͳ࣮૷ߏ੒
    'FBUVSF4UPSFϓϩμΫτͷ঺հ

    View full-size slide

  9. ϖʔδλΠτϧ ϖʔδαϒλΠτϧ
    ©2023 Wantedly, Inc.
    "'FBUVSF4UPSFJTBTFSWJDFUIBUJOHFTUTMBSHFWPMVNFTPGEBUB
    DPNQVUFTGFBUVSFT BOETUPSFTUIFN
    3FGIUUQTOFQUVOFBJCMPHGFBUVSFTUPSFTDPNQPOFOUTPGBEBUBTDJFODFGBDUPSZHVJEF

    View full-size slide

  10. ©2023 Wantedly, Inc.
    Կ͕Ͱ͖Δ
    Ұ؏ͨ͠ํ๏ͰσʔλΛॲཧ͠ɺ
    ෳ਺ͷϞσϧؒͰڞ༗Մೳͳ

    ಛ௃ྔΛੜ੒ɾ؅ཧͰ͖Δ
    'FBUVSF4UPSFͱ͸
    ͲΜͳγεςϜ
    ಛ௃ྔσʔλࣗମ΍ɺ

    ͦͷϝλσʔλΛޮ཰తʹอଘɺ
    ΞΫηεɺ࠶ར༻͢ΔͨΊʹઃܭ
    ͞ΕͨγεςϜ
    ࢖͏ͱͲ͏ͳΔ
    ػցֶशϞσϧ։ൃͷεϐʔυ
    ΞοϓɺσʔλͷҰ؏ੑͷ֬อɺ
    ͓ΑͼϞσϧੑೳͷվળʹد༩
    ػցֶशͷͨΊͷಛ௃ྔσʔλͷதԝ؅ཧɾڞ༗γεςϜ

    View full-size slide

  11. ©2023 Wantedly, Inc.
    'FBUVSF4UPSFͷඪ४తͳ࣮૷ߏ੒ ओཁͳͭͷίϯϙʔωϯτ
    'FBUVSF3FHJTUSZ
    ಛ௃ྔ΍ϝλ৘ใͳͲΛҰཡͰ͖Δ
    ར༻ऀ޲͚ͷΠϯλʔϑΣʔεͷఏڙ
    0QFSBUJPOBM.POJUPSJOH
    $PODFQU%SJGUͳͲϞσϧͷܦ࣌ྼԽ
    Λݕ஌͢Δಛ௃ྔͷϞχλϦϯάػߏ
    ref: https://neptune.ai/blog/feature-stores-components-of-a-data-science-factory-guide
    5SBOTGPSN
    ੜσʔλΛಛ௃ྔʹม׵͢Δػߏ
    ཁ݅ʹΑΓม׵ํ๏͕ҟͳΔ
    4USFBNPS#BUDIͳͲ

    4UPSBHF
    ಛ௃ྔΛอ؅͢Δػߏ#BUDIͳΒ
    %8) ϦΞϧλΠϜͳΒ3FEJTͳͲ
    4FSWJOH
    ಛ௃ྔΛఏڙ͢ΔػߏϦʔΫ͕

    ى͖ͳ͍Α͏ʹ࣌ܥྻΛ

    ࢀর͢Δ΋ͷ΋͋Δ QPJOUJOUJNF

    View full-size slide

  12. ©2023 Wantedly, Inc.
    044
    w ೥ʹ(PKFLͱ(PPHMF$MPVE͕ϦϦʔε
    .-ͱ%BUB*OGSBͷ෼཭
    w σʔλΠϯϑϥΛந৅Խ೚ҙͷΠϯϑϥ

    ($1 "84 4OPX
    fl
    BLF౳
    Ͱར༻Մೳ
    σʔλϦʔΫΛճආՄೳ
    w QPJOUJOUJNFKPJO ޙड़
    Λαϙʔτ
    ֶशͱαʔϏϯάͷҰ؏ੑ୲อ
    w ֶशɾਪ࿦࣌ʹಉ͡ΠϯλʔϑΣʔεͰར༻Մೳ
    'FBUVSF4UPSFϓϩμΫτ঺հd'FBTUd
    3FGIUUQTEPDTGFBTUEFWWNBTUFSXIBUJTGFBTU

    View full-size slide

  13. ©2023 Wantedly, Inc.
    ϑϧϚωʔδυαʔϏε
    w #2ͷσʔλΞΫηεɾΨόφϯεΛ׆༻Ͱ͖Δ
    ௿ϨΠςϯγͷαʔϏϯά
    w ಛ௃ྔͷϦΫΤετͷ͕NTͰ׬ྃ
    .-ɾੜ੒"*ͷ྆ํʹରԠ
    w ಛ௃ྔͱಉ͡Α͏ʹϕΫτϧຒΊࠐΈ΋֨ೲՄೳ
    σʔλϦʔΫΛճආՄೳ
    w QPJOUJOUJNFKPJO ޙड़
    Λαϙʔτ
    'FBUVSF4UPSFϓϩμΫτ঺հd7FSUFY"*d
    3FGIUUQTDMPVEHPPHMFDPNWFSUFYBJEPDTGFBUVSFTUPSF IMKBWBJGT
    IUUQTDMPVEHPPHMFDPNCMPHKBQSPEVDUTBJNBDIJOFMFBSOJOHOFXWFSUFYBJGFBUVSFTUPSFCJHRVFSZQPXFSFEHFOBJSFBEZ

    View full-size slide

  14. ©2023 Wantedly, Inc.
    ิ଍QPJOUJOUJNFKPJO
    w ֶशɾਪ࿦༻Ϩίʔυͷ༧ଌλΠϛϯάʹԊͬͯ

    ࠷৽͔ͭɺϦʔΫͷ͠ͳ͍λΠϛϯάͷಛ௃ྔΛ

    ར༻͢Δػೳ
    w Ұൠతʹ͸ಛ௃ྔͱ+PJOର৅ͷͲͪΒʹ΋

    UJNFTUBNQྻΛ࣋ͨͤͯࢀর͢Δ

    View full-size slide

  15. ©2023 Wantedly, Inc.
    ิ଍ಛ௃ྔͷάϧʔϐϯά
    w ݕࡧੑ΍Ϧιʔε؅ཧͷͨΊɺಛ௃ྔ͸͍͔ͭ͘ͷ؍఺
    Ͱάϧʔϐϯά͠͞ΕΔ͜ͱ͕ଟ͍
    7FSUFY"*ʹ͓͚Δάϧʔϐϯάྫ
    w &OUJUZ'FBUVSFΛඥ෇͚Δ୯Ґ
    w FY
    Ϣʔβʔ ΞΠςϜ
    w 'FBUVSF(SPVQσʔλιʔεͷϩέʔγϣϯʹ

    جͮ͘άϧʔϓ
    w 'FBUVSF7JFXҙຯͷ୯Ґʹجͮ͘άϧʔϓ
    3FGIUUQTDMPVEHPPHMFDPNWFSUFYBJEPDTGFBUVSFTUPSFMBUFTUPWFSWJFX

    View full-size slide

  16. ©2023 Wantedly, Inc.
    8BOUFEMZͰ'FBUVSF4UPSFΛಋೖͨ͠എܠ
    8BOUFEMZͷਪનγεςϜͷཁ݅
    ͜Ε·Ͱͷ՝୊
    'FBUVSF4UPSFͷࣗ࡞ʹࢸͬͨഎܠ

    View full-size slide

  17. ©2023 Wantedly, Inc.
    ఏڙ͢ΔϢʔβʔମݧ
    w ϢʔβʹืूΛɺϦΫϧʔλʔʹީิऀΛਪન͢Δ
    w ީิͱͳΔΞΠςϜʹείΞ͚ͮ͠ɺϥϯΩϯάͱͯ͠ఏڙ͢Δ
    νʔϜߏ੒
    w .-1E.ਓ%4ਓਪનج൫ΤϯδχΞਓ
    ݱঢ়ͷγεςϜߏ੒
    w 1ZUIPOͷKPCΛఆظ࣮ߦ͠ɺਪ࿦݁ՌΛ#JH2VFSZʹ֨ೲ ओʹ%4

    w #2ͷ݁ՌΛ3FEJTܦ༝ͰɺϢʔβʹ഑৴ ओʹਪનج൫ΤϯδχΞ

    ࣮૷࣌ͷཁٻ
    w 'FBUVSF4UPSF௥Ճਫ਼౓վળΛؚΊϲ݄ਓͰϦϦʔε
    w ಛ௃ྔ࡞੒Λߦ͏%4ࣗ਎͕ϝϯςͰ͖ΔγεςϜ͕๬·͍͠
    'FBUVSF4UPSFͷಋೖର৅ͱͳͬͨਪનγεςϜͷཁ݅ɾલఏ

    View full-size slide

  18. ©2023 Wantedly, Inc.
    എܠैདྷͷ8BOUFEMZͷਪનγεςϜͷ࣮૷ߏ੒

    View full-size slide

  19. ©2023 Wantedly, Inc.
    ैདྷͷ8BOUFEMZͷਪનγεςϜͷ࣮૷ߏ੒શମ
    ΞΠςϜͷ࠷దͳฒͼॱΛ༧ଌ͢Δ

    ϥϯΩϯάϨϙδτϦ͕ෳ਺͋Δ
    ֤ϨϙδτϦ͸#JH2VFSZ͔ΒσʔλΛऔಘ͠ɺ
    ༧ଌ݁ՌΛ࠶౓Ξοϓϩʔυ͢Δ
    ֤ϨϙδτϦ͸ओʹਓͷ%4͕։ൃɾϨϏϡʔ

    View full-size slide

  20. ©2023 Wantedly, Inc.
    ैདྷͷ8BOUFEMZͷਪનγεςϜͷ࣮૷ߏ੒༧ଌ݁Ռ
    ༧ଌ݁Ռ͸#JH2VFSZ͔Β3FEJTΛܦͯ

    Ϣʔβʹఏڙ͞ΕΔ
    ˞3FEJTϝϞϦσʔλετΞͷҰछ

    View full-size slide

  21. ©2023 Wantedly, Inc.
    ैདྷͷ8BOUFEMZͷਪનγεςϜͷ࣮૷ߏ੒಺෦࣮૷
    ֤ϨϙδτϦ͝ͱʹɺ42-ϑΝΠϧ͕֨ೲ͞Ε͓ͯΓɺ
    ͜ͷϑΝΠϧΛݩʹಛ௃ྔ༻ͷσʔλΛऔಘ͢Δ
    1ZUIPOͷ%BUB'SBNF౳Λ࢖ͬͯɺ

    ಛ௃ྔΛੜ੒͠ɺϞσϧͷֶशɾ༧ଌʹར༻͢Δ

    View full-size slide

  22. ©2023 Wantedly, Inc.
    ՝୊ͦͷ42-ͱಛ௃ྔੜ੒ϩδοΫ͕ࢄΒ͹Δ
    ಛ௃ྔ༻ͷ42-ϑΝΠϧ΍ੜ੒ϩδοΫ͕

    ෳ਺ͷϨϙδτϦʹ·͕͓ͨͬͯΓҰཡੑ͕௿͍
    ಉ͡ಛ௃ྔΛෳ਺ϨϙδτϦͰ࢖͍͍ͨ৔߹΋
    ࡞Γ௚͢ඞཁ͕͋Δ

    View full-size slide

  23. ©2023 Wantedly, Inc.
    ՝୊ͦͷಛ௃ྔੜ੒ϩδοΫ͕1ZUIPO࣮૷Ͱ஗͍
    #2͚ͩͰॲཧ͕ࡁΉಛ௃ྔ΋ଟ͕͋͘Δ͕ɺ
    ଞͷσʔλϑϩʔτͷ݉Ͷ߹͍Ͱ1ZUIPOΛར༻ͯ͠ɺ
    ಛ௃ྔΛੜ੒͍ͯ͠Δ
    #2ʹൺ΂ɺॲཧͷΦʔόʔϔου͕େ͖͍

    View full-size slide

  24. ©2023 Wantedly, Inc.
    ՝୊ͦͷಛ௃ྔͷϞχλϦϯάɾσόοά͕೉͍͠
    ֤ϥϯΩϯάͰ༧ଌ݁ՌͷΈ͕#2ʹΞοϓϩʔυ͞ΕΔ
    ಛ௃ྔ͸ϑΝΠϧετϨʔδʹͷΈ
    Ξοϓϩʔυ͞ΕΔͨΊσόοά΍ϞχλϦϯά͕ࠔ೉

    View full-size slide

  25. ©2023 Wantedly, Inc.
    ՝୊ͦͷಛ௃ྔʹ༧ଌ௚લͷσʔλΛར༻Ͱ͖ͳ͍
    w ैདྷͷ༧ଌλεΫ͸5SBJO7BMJE5FTUΛ࣌ܥྻ෼ׂ͠ɺ
    ༧ଌσʔλऩूظؒΛઃ͚͍ͯͨ
    w ༧ଌσʔλऩूظ͕ؒ͋ΔͨΊɺ௚લͷߦಈ·ͰΛ

    ೖྗʹؚΊΔ͜ͱ͕ग़དྷͳ͍
    w ਫ਼౓վળͷͨΊʹɺϢʔβͷΠϕϯτൃੜλΠϛϯάͷ
    ௚લ·ͰΛೖྗσʔλͷऩूظؒͱ͍ͨ͠
    w ಛ௃ྔΛఆظతʹอଘ͠ɺϢʔβຖʹར༻͢Δ

    ೖྗظؒΛม͑Δඞཁ͕ग़͖ͯͨ

    View full-size slide

  26. ©2023 Wantedly, Inc.
    'FBUVSF4UPSFͷػೳͱ8BOUFEMZͷ՝୊ͱඞཁੑ
    ػೳ ݱঢ়ͷ՝୊ ඞཁੑ
    Feature
    Registry
    Ұݩ؅ཧ͍ͯ͠ͳ͍ͨΊɺ

    Ͳ͜ͰͲͷಛ௃ྔ͕࢖ΘΕ͍ͯΔͷ͔୳ͮ͠Β͍&࠶ར༻͠ʹ͍͘
    ߴ
    Operational
    Monitoring
    ܽଛͳͲͷσάϨʹؾ͚ͮͳ͍


    ͨͩ͠ΦϑϥΠϯςετͰ͋Δఔ౓ΧόʔͰ͖Δ
    ௿
    Storage
    ಛ௃ྔ͕Ϋϥ΢υετϨʔδʹ͔͠࢒͓ͬͯΒͣɺ

    σόοά΍࠶ར༻ɺϢʔβຖʹऔಘ࣌ظΛม͑Δ͜ͱ͕೉͍͠
    ߴ
    Transform PythonϨΠϠʔͰBatchॲཧ͍ͯ͠ΔͷͰ஗͍ த
    Serving Servingػߏ͸طʹ͋ΔͷͰඞཁͳ͍ ແ
    Ұൠతͳ'FBUVSF4UPSFͷػೳ͕શͯඞཁͰ͋ΔΘ͚Ͱ͸ແ͍ͱΘ͔ͬͨ💡

    View full-size slide

  27. ©2023 Wantedly, Inc.
    ಺੡WT֎෦πʔϧ
    ಺੡ VertexAI Feast or ͦͷଞOSS
    Pros ΧελϚΠζ͠΍͍͢

    ඞཁͳ෦෼͚࣮ͩ૷Ͱ͖Δ
    εέʔϥϒϧ

    ϦΞϧλΠϜͳಛ௃ྔͷαʔϏϯά
    ແྉɻίʔυΛશͯಡΊΔ
    Cons ࣮૷ίετ͕͔͔ΔɻυΩϡϝϯτ౳͸શͯ

    ࣗ෼Ͱ༻ҙ͢Δඞཁ͕͋Δ
    2023/10ϦϦʔεͰ

    ৘ใ͕গͳ͍

    ྉ͕͔͔ۚΔ

    Transformػߏ͸݁ہ࣮૷͕ඞཁɻ
    ґଘϥΠϒϥϦͷߋ৽͕

    ΍΍஗͍

    ࠃ಺ͷར༻ࣄྫ͕͋·Γͳ͍

    View full-size slide

  28. ϖʔδλΠτϧ ϖʔδαϒλΠτϧ
    ©2023 Wantedly, Inc.
    ཉ͍͠ػೳʹߜͬͯ಺੡͢Δ͜ͱʹ
    w ಛ௃ྔͷҰݩ؅ཧ
    w ϢʔβɾΞΠςϜຖʹಛ௃ྔΛఆظతʹ֨ೲ
    w #2ϨΠϠʔͰͷ+PJOͷαϙʔτ

    View full-size slide

  29. ©2023 Wantedly, Inc.
    ࣗ࡞͕ಋೖ΋อक΋

    ࠷΋ίετ͕খͦ͞͏
    ࣗ࡞͢Δ͜ͱʹͨࠜ͠ڌ
    ࣗ࡞ˠطଘ੡඼΁ͷ
    Ҡߦ͸͠΍ͦ͢͏
    w طଘ੡඼͸େن໛αʔϏεʹ΋దԠͰ͖ΔΑ͏ʹػೳ͕ଟ͍
    w FY
    ಛ௃ྔͷάϧʔϐϯά΍ϦΞϧλΠϜαʔϏϯά
    w ϝϯςφϯε͞Ε͍ͯΔϥΠϒϥϦ͚ͩΛબΜͰಋೖͰ͖Δ
    w $IBU(15ʹΑΓɺ࣮૷ίετ͕Լ͕͍ͬͯΔ
    w 7FSUFY"*͸ಛ௃ྔ͕#2ʹΞοϓϩʔυ͞Ε͍ͯΔඞཁ͋Γ
    w ͲͷΈͪɺˢΛߦ͏ػߏ͸ඞཁ
    w ΑΓଞࣾࣄྫ͕ग़͖͔ͯͯΒஈ֊తʹҠߦ΋Մೳ

    View full-size slide

  30. ©2023 Wantedly, Inc.
    ࣗ࡞ͨ͠'FBUVSF4UPSFͷߏ੒
    શମߏ੒
    ֤ػೳͷ࣮૷ߏ੒

    View full-size slide

  31. ©2023 Wantedly, Inc.
    શମߏ੒ਤ#FGPSF

    View full-size slide

  32. ©2023 Wantedly, Inc.
    શମߏ੒ਤ"GUFS

    View full-size slide

  33. ©2023 Wantedly, Inc.
    'FBUVSF4UPSFߏ੒ਤ
    42-ϑΝΠϧΛݩʹಛ௃ྔΛੜ੒͢Δ෦෼Λ
    ϥϯΩϯά͔Β෼཭ͨ͠
    ಛ௃ྔੜ੒Λఆظ࣮ߦ͠ɺ#2ʹ֨ೲ͢Δ
    'FBUVSF4UPSFͱ͍͏ΑΓɺ

    'FBUVSF$SFBUPSͱ΋ݴ͑Δ

    View full-size slide

  34. ©2023 Wantedly, Inc.
    3BOLJOHߏ੒ਤ
    ੜ੒ࡁΈͷಛ௃ྔΛಡΈग़͠ɺֶशɾਪ࿦ʹ༻͍Δ
    ݸผͷ42-΍ಛ௃ྔੜ੒ϩδοΫ͸ϥϯΩϯά

    ͔ΒҾ͖ണ͕͞Εͨ

    View full-size slide

  35. ©2023 Wantedly, Inc.
    'FBUVSF4UPSFͷ಺෦࣮૷ৄࡉ
    ಛ௃ྔ͝ͱʹSQLΫΤϦͱεΩʔϚΛ1:1Ͱඥ෇͚Δ
    ֤ಛ௃ྔΛfeature_create.pyͰ


    ࣮ߦ͠Ξοϓϩʔυ

    View full-size slide

  36. ©2023 Wantedly, Inc.
    'FBUVSF4UPSFͷ࣮૷಺༰d'FBUVSFd
    BQΫΤϦΛ࣮ߦ͠ɺಛ௃ྔΛςʔϒϧͱͯ͠ੜ੒͢Δɻ


    BQͰ׬݁͢Δ͜ͱ΋ɺPythonͷDataFrameͱͯ͠औΓࠐΜͰɺෳࡶͳॲཧ΋Մೳ

    View full-size slide

  37. ©2023 Wantedly, Inc.
    'FBUVSF4UPSFͷ࣮૷಺༰d'FBUVSFDSFBUPSd
    Feature ΛಡΈࠐΈɺ

    ฒྻॲཧͰಛ௃ྔΛੜ੒͢ΔΤϯτϦʔϙΠϯτ

    View full-size slide

  38. ©2023 Wantedly, Inc.
    'FBUVSF4UPSFͷ࣮૷಺༰d'FBUVSFTDIBNBd
    Featureͷఆ͕ٛॻ͔ΕͨYAMLϑΝΠϧΛಡΈࠐΈɺ


    Pandas/BQ/YAMLͷεΩʔϚΛఏڙɾ౷Ұ͢ΔΫϥε


    υΩϡϝϯτԽɾҰ؏ੑʹߩݙ

    View full-size slide

  39. ©2023 Wantedly, Inc.
    'FBUVSF4UPSFͷ࣮૷಺༰d'FBUVSF'FUDIFSd
    ੜ੒͞ΕͨFeatureΛਪ࿦ީิू߹ʹඥ෇͚ΔΫϥε


    Feature.yamlΛಡΈࠐΈɺಈతʹSQLΫΤϦΛߏஙͯ͠औಘ

    View full-size slide

  40. ©2023 Wantedly, Inc.
    ࡞ͬͨ݁Ռɾॴײ
    ࡞ͬͯྑ͔ͬͨ͜ͱ
    ࣗ࡞ͯ͠ྑ͔ͬͨ͜ͱ
    ΋ͬͱΑ͍ͨ͘͠ͱ͜Ζ

    View full-size slide

  41. ©2023 Wantedly, Inc.
    ࡞ͬͯྑ͔ͬͨ͜ͱdਫ਼౓վળd
    Ϣʔβຖʹ࠷৽ͷಛ௃ྔΛඥ෇͚ΒΕΔ͜ͱͰɺਫ਼౓վળͨ͠🎉


    (ΦϯϥΠϯςετ४උத)

    View full-size slide

  42. ©2023 Wantedly, Inc.
    ࡞ͬͯྑ͔ͬͨ͜ͱd'FBUVSF3FHJTUSZʹΑΔϨϏϡʔίετͷ௿Լd
    feature_schemaͷࠩ෼͔Β

    ௥Ճ͞Εͨಛ௃ྔͷυΩϡϝϯτ͕ࣗಈੜ੒

    ͞ΕΔΑ͏ʹͳͬͨ🎉

    View full-size slide

  43. ©2023 Wantedly, Inc.
    ࡞ͬͯྑ͔ͬͨ͜ͱd0QFSBUJPOBM.POJUPSJOHͷ͖͔͚ͬʹͳͬͨd
    BQʹ౷Ұతͳ໋໊نଇͰFeature͕Ξοϓϩʔυ͞ΕΔ͜ͱͰɺ


    σόοά͕༰қʹͳͬͨ🎉

    View full-size slide

  44. ©2023 Wantedly, Inc.
    ࣗ࡞ͯ͠ྑ͔ͬͨ͜ͱ
    w ઃܭΛܦͯɺࣗࣾͰٻΊ͍ͯΔ΋ͷͷཁ͕݅໌֬ʹͳͬͨ
    w 1ZUIPOͷΈͰ࣮૷͞Ε͍ͯΔͷͰɺ%4ࣗ਎͕ཉ͍͠ػೳΛؾܰʹ13Ͱ௥ՃͰ͖ΔΑ͏ʹͳͬͨ
    w ಛ௃ྔੜ੒ʹؔ͢Δ։ൃੜ࢈ੑͷ޲্ͷऔΓ૊Έ͕ҰΧॴʹूத͠ɺεέʔϧ͢ΔΑ͏ʹͳͬͨ
    w େن໛ͳνʔϜߏ੒Λ૝ఆ͍ͯ͠Δπʔϧ͕ଟ͍ͳ͔ɺඞཁे෼ͳػೳΛબ୒ͯ͠ಋೖ͢Δ͜ͱ͕ग़དྷͨ
    w $IBU(15ͷ୆಄ʹΑΓɺίʔυΛॻ͘ίετ͕֨ஈʹԼ͕͍ͬͯΔͨΊɺૉૣ࣮͘૷Ͱ͖ͨ
    w 1BOEBT⁶#JH2VFSZ⁶ZBNMؒͷܕΛࣄલʹόϦσʔγϣϯͰ͖ΔͨΊɺ&SSPS΍ܽଛ͕ݮͬͨ
    ࣗ࡞ͯ͠೉͍͠ͱײͨ͜͡ͱ
    w ಛ௃ྔΛϦΞϧλΠϜͰαʔϏϯά͢Δػߏͷࣗ࡞͸͔ͳΓ೉ͦ͠͏͓ͦΒ͘7FSUFY"*ʹ৐ͬͨํ͕Α͍
    w ੜ੒ͨ͠ಛ௃ྔಉ࢜ΛKPJO͢ΔΫΤϦΛಈతʹ࡞Δػߏ͸ෳࡶԽ͠΍͍͢ɻKJOKBUFNQMBUFͷ׆༻ͳͲ͕ඞཁͦ͏
    ࣗ࡞ͨ͠ॴײ

    View full-size slide

  45. ©2023 Wantedly, Inc.
    ·ͱΊ
    'FBUVSF4UPSFʹؚ·ΕΔػೳ΍ؔ࿈ϓϩμΫτʹ͍ͭͯ঺հͨ͠
    w ಛ௃ྔσʔλࣗମ΍ɺϝλσʔλΛޮ཰తʹอଘɺΞΫηεɺ࠶ར༻͢ΔͨΊʹઃܭ͞ΕͨγεςϜ
    w Ұ؏ͨ͠ํ๏ͰσʔλΛॲཧ͠ɺෳ਺ͷϞσϧؒͰڞ༗Մೳͳಛ௃ྔΛੜ੒Ͱ͖Δ
    8BOUFEMZͰ͸ൺֱݕ౼ͨ݁͠Ռ'FBUVSF4UPSFΛ಺੡Ͱ։ൃͨ͠
    w ؔ࿈ϓϩμΫτͷશͯͷػೳ͕ඞཁͰແ͍͜ͱ͕Θ͔ͬͨͨΊ
    w ࣗ࡞͢Δ͜ͱͰඞཁे෼ͳػೳ͚ͩΛ࣮૷Ͱ͖ͨ
    'FBUVSF4UPSFΛಋೖ͢Δ͜ͱͰߴ଎ͳ։ൃͱਫ਼౓ͷվળͰ͖ͨ
    w σόοά΍ϞχλϦϯάɺϨϏϡʔͷ͠΍͢͞ͳͲɺӡ༻্ͷϖΠϯ͕େ෯ʹվળ͞Εͨ
    w Ϣʔβຖʹ࠷৽ͷσʔλΛඥ෇͚Δ͜ͱ͕ग़དྷΔͨΊɺਫ਼౓͕վળ͞Εͨ

    View full-size slide