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

JupyterNotebookでのdebug入門(サンプルは説明欄にあります)

fkubota
August 17, 2021

 JupyterNotebookでのdebug入門(サンプルは説明欄にあります)

fkubota

August 17, 2021
Tweet

More Decks by fkubota

Other Decks in Programming

Transcript

  1. 2 ࣗݾ঺հ fkubota (Twitter, Kaggle) - όϯυϧΧʔυͷձࣾ(ΧϯϜ)ͰػցֶशΤϯδχΞ - Kaggle Expert

    - ԭೄग़਎(౦ژʹग़͖ͯͯ3೥൒) - ෺ཧֶՊग़਎(ڧ૬ؔిࢠܥɺ4.2KͷӷମϔϦ΢Ϝʹ࣓ੑମಥͬࠐΜͰͨ) - ϓϩάϥϛϯάྺ͸2೥൒͙Β͍ - झຯ - ૣى͖(4࣌൒ىচ) - Kaggle - ίʔώʔɺϏʔϧɺ΢ΟεΩʔ - ಡॻɺ෺ཧɺ఩ֶ
  2. 3 Contents debug ʹ͍ͭͯ JupyterNotebookͰ debug ʹೖ໳ ͳͥσόοΨ͕ඞཁ͔ͱ ͔ɻ ෼ੳίϯϖͰඞͣͱߦͬͯ

    ͍͍΄Ͳ࢖͏ JupyterNotebookͰͷdebug ํ๏ʹ͍ͭͯ؆୯ʹ঺հɻ ओʹϏΪφʔʹ޲͚ͯʂ
  3. 11 ͲΕ͕͍͍ʁ(202108࣌఺) pdb %debug ipdb pudb xeus-python JupyterNotebook ˕ ˕

    ̋ ˚ ˚ JupyterLab ˕ ˕ ̋ ˚ ˚ KaggleNotebook ˕ ˕ ̋ ʁ ʁ Colaboratory ˕ ˕ ̋ ʁ ʁ ߴػೳ ˕: Πϯετʔϧෆཁ ̋: Πϯετʔϧඞཁ(؆୯) ˚: Πϯετʔϧඞཁ(ͪΐͬͱΊΜͲ͍͘͞) ʁ: ಈ͔ͨ͜͠ͱͳ͍ Ұ෦Λ঺հ