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

word prediction

word prediction

第62回Tokyo.RのLT資料です

Cb7edd153cf503f44c727b73647558bf?s=128

tetsuroito

June 24, 2017
Tweet

More Decks by tetsuroito

Other Decks in Technology

Transcript

  1. Tokyo.R ver.62 LT ʮWord Predictionʯ 2017/06/24(sat) @ࣚཹ

  2. ࣗݾ঺հ ໊લɿҏ౻ ప࿠(@tetsuroito) ࢓ࣄɿFinTechܥ झຯɿञɺαοΧʔ؍ઓɺεΩʔ ݴޠɿSQL΍Rݴޠɻ࠷ۙ͸Python΍ͬͯΔ ࠷ۙ͸෼ੳͱ͔͋Μ·Γ͍ͯ͠ͳ͍

  3. એ఻ɿ࿈ࡌ΍ͬͯ·͢ ιʔγϟϧ֦ࢄͷఆྔσʔλ͕ࢲͷϞνϕͰ͢

  4. ࠓ೔ͷLTͷ͖͔͚ͬ ;ͱ31VCTͷΤϯτϦΛݟ͍ͯͨΒɺ Կ΍Β໘നͦ͏ͳ΋ͷΛൃݟͨ͠ͷͰɺ ࠓ೔͸͜Εͷ࿩Ͱ͢ IUUQSQVCTDPN.BMPSFBO

  5. എܠͱϞνϕʔγϣϯ ɾܞଳ୺຤͸ΩʔϘʔυϨΠΞ΢τʹ͸খ͍͞ ɾ୹ॖͨ͠ϫʔυΛଧͪࠐΉ͍͔ͭ͘ͷख๏͕͋Δ T9 (Text on 9keys):ΨϥέʔϘλϯΈ͍ͨͷ Sliding:εϚϑΥͷΩʔϘʔυ ༧ଌม׵ ͜ͷ1+͸ೖྗ͞ΕͨϑϨʔζʹ࠷΋͋Γͦ͏ͳޠΛ

    ༧ଌͯ͠ఏࣔ͢Δͱ͍͏΋ͷ
  6. ߏ੒ Capstone Dataset RͰ࣮ݱ ख๏ɿTMɺQuantedaɺtext2vec DBɿSqlite using RSQlite εϐʔυͱγϯϓϧ͞Ͱ্هͷબఆ

  7. σʔλϞσϧ ετοϓϫʔυͳ͠ N-GramΛར༻Ͱ(2-Gram͔Β7-Gram) ༧ଌม׵

  8. N-Gram n-1ޠΛจ຺ͱͯ࣍͠ͷޠΛ༧ଌ จࣈn-gram ୯ޠn-gram class n-gramͳͲ ࣗવݴޠॲཧʹ͓͚ΔҰൠతͳݴޠϞσϧͰ͢

  9. ݁Ռ͸Shiny Appʹ IUUQTNBMPSFBOTIJOZBQQTJP8PSE1SFEJDUJPO

  10. ݁࿦ ɾ՝୊ ɹ5.ύοέʔδͷେ͖͍σʔληοτͷύϑΥʔϚϯε ɹΠϯϑϧΤϯβʹ͔͔ͬͯ࣌ؒͱΒΕͪΌͬͨ ɾֶͼ ɹXPSLJUFSBUJWF ɹ΋ͬͱίʔυ΍σʔλখ͘͞Ͱ͖Δ͔΋ ɾࠓޙͷൃలʹΉ͚ͯ ɹҧ͏σʔλͰࢼ͍ͨ͠ ɹ4LJQ(SBNΛ࢖͏

    ɹ,OFTFS/FZ΍,BU[`TCBDLP⒎ͰεϜʔδϯά
  11. ͝੩ௌ͋Γ͕ͱ͏ ͍͟͝·ͨ͠ʂ