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

さあ、異常を検知しよう!!

tsurubee
March 23, 2018

 さあ、異常を検知しよう!!

異常検知の話

tsurubee

March 23, 2018
Tweet

More Decks by tsurubee

Other Decks in Technology

Transcript

  1. !UTVSVCFF(.01FQBCP *OD
    5FDI.5(
    ͋͞ɺҟৗΛݕ஌͠Α͏ʂʂ

    View full-size slide

  2. ΤϯδχΞ
    !UTVSVCFF
    ϗεςΟϯάࣄۀ෦ΠϯϑϥνʔϜ
    ݄೔ʹೖࣾ͠·ͨ͠ʂ

    View full-size slide

  3. Πϯϑϥ͡Όͳͯ͘
    ҟৗݕ஌ͷ࿩

    View full-size slide

  4. ҟৗݕ஌ͱ͸
    େଟ਺ͷσʔλͱ͸ৼΔ෣͍͕
    ҟͳΔσʔλΛݕग़͢Δٕज़
    σʔλϚΠχϯά
    نଇੑɹҟৗ
    σʔλͷࢁ

    View full-size slide

  5. օ͞ΜɺҟৗΛݕ஌͍ͨ͠ͱ͖
    ͋Γ·͢ΑͶʁʁ

    View full-size slide

  6. ҟৗݕ஌ͷԠ༻ઌ
    ίϯϐϡʔλ΢Πϧε΍%PT߈ܸͷૣظൃݟ
    ηΩϡϦςΟ෼໺
    ނো༧ஹݕ஌
    ػց෼໺
    ྲྀߦͷݕ஌ɾ৽τϐοΫͷൃݟɾ
    ϢʔβߦಈͷมԽݕ஌
    ϚʔέςΟϯά෼໺

    View full-size slide

  7. Πϯϑϥͱҟৗݕ஌
    IUUQTXXXDPNQVUFSPSHDTEMUSBOTULLIUNM
    .4#MBTUͷݕ஌

    View full-size slide

  8. IUUQTTQFBLFSEFDLDPNTVHJZBNBNBDLFSFMNFFUVQOVNCFS
    Πϯϑϥͱҟৗݕ஌
    .BDLFSFMͷҟৗݕ஌

    View full-size slide

  9. ϖύϘͰ΋ɾɾ
    IUUQTTQFBLFSEFDLDPNNBUTVNPUP@SJPU
    IUUQTTQFBLFSEFDLDPNNPOPDISPNFHBOFTDIFEVMFEBVUPTDBMJOHPGWJSUVBMTFSWFSTCZBDDFTTGSFRVFODZQSFEJDUJPO

    View full-size slide

  10. ࠓ೔͸؆୯ͳྫΛ΋ͱʹ
    ҟৗݕ஌ͷงғؾΛ௫Ή
    ʢ਺ࣜ͸ग़͠·ͤΜʣ

    View full-size slide

  11. ҟৗσʔλͷྫ
    %BWJTσʔλɿਓͷੑผɺଌఆͨ͠਎௕ɾମॏͷσʔλ
    IUUQTWJODFOUBSFMCVOEPDLHJUIVCJP3EBUBTFUTEBUBTFUTIUNM

    View full-size slide

  12. ҟৗσʔλͷྫ
    %BWJTσʔλɿਓͷੑผɺଌఆͨ͠਎௕ɾମॏͷσʔλ
    IUUQTWJODFOUBSFMCVOEPDLHJUIVCJP3EBUBTFUTEBUBTFUTIUNM
    ҟৗʂ

    View full-size slide

  13. ҟৗσʔλͷྫ
    %BWJTσʔλɿਓͷੑผɺଌఆͨ͠਎௕ɾମॏͷσʔλ
    IUUQTWJODFOUBSFMCVOEPDLHJUIVCJP3EBUBTFUTEBUBTFUTIUNM
    ҟৗʂ
    if value > 120:
    print('ERROR!')
    JGจͰݕ஌Ͱ͖ͦ͏ʂ

    View full-size slide

  14. Ұ൪γϯϓϧ͔ͭϙϐϡϥʔͳ
    ҟৗݕ஌ख๏ɿᮢ஋ઃఆ

    View full-size slide

  15. ᮢ஋ઃఆͷ໰୊఺ᶃ
    ͷࠜڌ͸Կʁ໰୊
    ҟৗʂ
    if value > 120:
    print('ERROR!')
    JGจͰݕ஌Ͱ͖ͦ͏ʂ

    View full-size slide

  16. ϗςϦϯάཧ࿦
    ͪΌΜͱ΍Δʹ͸౷ܭֶ
    ֎Ε஋
    ਖ਼ن෼෍ΛԾఆ͠ɺσʔλੜ੒ͷ֬཰ϞσϧΛֶश͢Δ
    ౷ܭֶΛ࢖ͬͯ٬؍తͳਫ४Ͱݕ஌͢Δ
    ֎Ε஋

    View full-size slide

  17. ᮢ஋ઃఆͷ໰୊఺ᶄ
    ࣌ܥྻมԽʹରԠͰ͖ͳ͍໰୊
    ࣌ؒ
    ͬͪ͜͸0, ᮢ஋ม͑ͳ͍ͱʂ
    อकͭΒ͍ɾɾ
    ࣌ؒͷܦաͱͱ΋ʹ্ঢ܏޲ʹ͋Δ
    ࣌ؒͷܦաʹແؔ܎
    ԣ࣠͸࣌ؒͰ͢ʂ

    View full-size slide

  18. ࣌ܥྻมԽʹͲ͏΍ͬͯ
    ରԠ͠Α͏

    View full-size slide

  19. Ұ൪γϯϓϧͳΞϓϩʔν

    View full-size slide

  20. ೖྗσʔλΛͣΒͯ͠΍ΔͱউखʹରԠͯ͘͠ΕΔ
    εϥΠυ૭
    ͜ͷதͰฏۉΛͱΔ
    ฏۉ஋
    ฏۉ͔Βͷ
    ڑ཭͕ҟৗ౓

    View full-size slide

  21. ͜ΕΛൃల͍ͤͯ͘͞ͱɾɾ

    View full-size slide

  22. 1ZUIPO੡ҟৗݕ஌ϥΠϒϥϦ#BOQFJ

    View full-size slide

  23. ಛҟεϖΫτϧม׵
    ࣌ࠁ
    શମΠϝʔδ
    ʮೖ໳ػցֶशʹΑΔҟৗݕ஌
    ʕ3ʹΑΔ࣮ફΨΠυʯͷਤ
    Λࢀߟʹ࡞੒
    աڈଆͱݱࡏଆͷߦྻಉ࢜ͷ৯͍ҧ͍ͷେ͖͞ΛఆྔԽ
    ཤྺߦྻ9 ςετߦྻ9
    ओ෦෼ۭؒ\V
    VN
    ^ \R
    RN
    ^
    มԽ౓

    View full-size slide

  24. #BOQFJʹΑΔҟৗݕ஌
    ಛҟεϖΫτϧม׵ʹΑΔ܏͖ͷมԽ఺ݕ஌
    IUUQTXXXZPVUVCFDPNXBUDI W@XPVC-"I9L
    ಛҟεϖΫτϧม׵ʹΑΔप೾਺ҟৗݕ஌
    IUUQTXXXZPVUVCFDPNXBUDI WF'7/,"7U/1

    View full-size slide

  25. ·ͱΊ
    ● ҟৗݕ஌͸Πϯϑϥʹ΋Ԡ༻Ͱ͖Δ
    ● Ұ൪γϯϓϧͳҟৗݕ஌͸ᮢ஋ઃఆɺͰ΋໰୊΋͋Δ
    ● ٬؍తͳਫ४Ͱҟৗݕ஌͢Δʹ͸౷ܭֶ
    ● ࣌ܥྻͳมԽʹ͸εϥΠυ૭ͳͲͷςΫχοΫ͕࢖͑Δ

    View full-size slide

  26. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ

    View full-size slide