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

Development of LINEBot for predicting bicycle t...

Development of LINEBot for predicting bicycle theft using open data!!

This slide was used in my presentation of FOSSASIS 2020 in Singapore.
https://summit.fossasia.org/event/schedule.html#6138
https://www.youtube.com/watch?v=YRFynvjZl30

- Abstract
In Japan, open data of crime damage information and disaster information is disclosed. Data processing and analysis can be facilitated by the development of Python.This time, LINEBot was developed in Python to estimate theft using open data of bicycle theft damage information released by Nagano Prefecture in Japan. In order to quantify how similar the “bicycle theft data” based on open data is to the “user data” of LINE users, I have calculated the “Maharanobis distance” and implemented an estimation function. I will talk about pre-processing of open data, implementation of estimation function by Mahalanobis distance, and use of LINEMessagingAPI. (LINEBot is available with LINE ID: @ 377mjuys)My bot is open source, here is a link to the open source code. [https://github.com/kenji7157/open-nagano-zitensya]

Kenji Kawanobe

March 21, 2020
Tweet

More Decks by Kenji Kawanobe

Other Decks in Programming

Transcript

  1. /VNCFSPGTUPMFOQFPQMFCZBHF PDDVQBUJPO BHF VOEFS    PWFS 46. 

       PUIFS 46. TDIPPM DIJME NJE TDIPPM IJHI TDIPPM PDDVQBUJPO DPMMFHF PUIFS DPMMFHF 0SHBOJ[   TFBSDIGFBUVSFT
  2. BHF VOEFS    PWFS 46.   

     PUIFS 46. TDIPPM DIJME NJE TDIPPM IJHI TDIPPM DPMMFHF PUIFS DPMMFHF 0SHBOJ[ PDDVQBUJPO .PTUPGUIFTUPMFOQFPQMFBSFUFFOTBOEUXFOUJFT   TFBSDIGFBUVSFT /VNCFSPGTUPMFOQFPQMFCZBHF PDDVQBUJPO
  3. BHF VOEFS    PWFS 46.   

     PUIFS 46. TDIPPM DIJME NJE TDIPPM IJHI TDIPPM DPMMFHF PUIFS DPMMFHF 0SHBOJ[ PDDVQBUJPO TJYUJFTBOETFWFOUJFTCJLFJTEJ⒏DVMUUPCFTUPMFO TFBSDIGFBUVSFT /VNCFSPGTUPMFOQFPQMFCZBHF PDDVQBUJPO
  4. UJNF         

                   46.  4VO .PO 5VF 8FE 5IV 'SJ 4BU 46. ༵೔ɾ࣌ؒଳผൃੜ݅਺ /VNCFSPGTUPMFOQFPQMFCZUJNF EBZ UJNF EBZ TFBSDIGFBUVSFT
  5. UJNF         

                   46.  4VO .PO 5VF 8FE 5IV 'SJ 4BU 46. ༵೔ɾ࣌ؒଳผൃੜ݅਺ UJNF EBZ TFBSDIGFBUVSFT /VNCFSPGTUPMFOQFPQMFCZUJNF EBZ
  6. UJNF         

                   46.  4VO .PO 5VF    4BU 46. ༵೔ɾ࣌ؒଳผൃੜ݅਺ UJNF    8FE 5IV 'SJ EBZ TFBSDIGFBUVSFT /VNCFSPGTUPMFOQFPQMFCZUJNF EBZ
  7. UJNF         

                   46.  4VO .PO 5VF    4BU 46. ༵೔ɾ࣌ؒଳผൃੜ݅਺ UJNF    8FE 5IV 'SJ EBZ DPNNVUJOHIPVSTJOKBQBO TFBSDIGFBUVSFT /VNCFSPGTUPMFOQFPQMFCZUJNF EBZ
  8. UJNF         

                   46.  4VO .PO 5VF    4BU 46. ༵೔ɾ࣌ؒଳผൃੜ݅਺ UJNF    8FE 5IV 'SJ EBZ HPIPNFIPVST TFBSDIGFBUVSFT /VNCFSPGTUPMFOQFPQMFCZUJNF EBZ
  9. UJNF         

                   46.  4VO .PO 5VF    4BU 46. ༵೔ɾ࣌ؒଳผൃੜ݅਺ UJNF    8FE 5IV 'SJ EBZ TFBSDIGFBUVSFT /VNCFSPGTUPMFOQFPQMFCZUJNF EBZ
  10. UJNF         

                   46.  4VO .PO 5VF    4BU 46. ༵೔ɾ࣌ؒଳผൃੜ݅਺ UJNF    8FE 5IV 'SJ EBZ TFBSDIGFBUVSFT NBJOMZ'SJEBZ /VNCFSPGTUPMFOQFPQMFCZUJNF EBZ