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

A brief introduction to tinygp

A brief introduction to tinygp

軽量なガウス過程モデリングライブラリ tinygp の紹介と numpyro を用いたハイパーパラメータの推定について.

Jupyter notebook
https://gist.github.com/kzak/f963e182e6e947b5dcfd0de372d0ec9d

Kazuaki Takehara

October 24, 2022
Tweet

More Decks by Kazuaki Takehara

Other Decks in Research

Transcript

  1. Agenda • tinygp ͱ͸ • Πϯετʔϧ • جຊతͳ࢖͍ํ • Χʔωϧͷఆٛ

    • Ψ΢εաఔͷఆٛʢࣄલ෼෍ɼ৚݅෇͖෼෍ʣ • ϋΠύϥͷ࠷దԽʢnumpyroʣ 2
  2. tinygp ͱ͸ • ܰྔͳΨ΢εաఔϞσϦϯάϥΠϒϥϦɽ • jax ϕʔεɽࣗಈඍ෼΍ GPU ߴ଎ԽʹରԠɽ 3

    Github: https://github.com/dfm/tinygp Doc : https://tinygp.readthedocs.io/en/stable/
  3. Πϯετʔϧ • pip install --upgrade pip • pip install tinygp

    4 GPU Λ׆༻ͷͨΊͷखॱ͢Δʹ͸΋͏গ͠खॱ͕͋Δɽ https://github.com/google/jax/#installation
  4. ײ૝ / ·ͱΊ • tiny ͱ͍͏͚ͩ͋ͬͯશ๴Λ೺Ѳ͠΍͍͢ɽ • GaussianProcess Ϋϥεͱ kernels

    Ϟδϡʔϧ Λཧղ͢Ε͹࢖͑Δɽ • ύϥϝʔλͷਪఆ͸ଞͷϥΠϒϥϦʹҠৡ͢Δઃܭʹͳ͍ͬͯΔɽ • numpyro, jaxopt ͳͲ͕࢖͑Δɽ • sklearn.gaussian_process, GPy, GPyTorch ͳͲɼطଘϥΠϒϥϦͷ࿮૊ΈΛ֎Εͨ ϞσϦϯάʹ༗༻ɽ • ࣗ෼ͱͯ͠͸ॊೈੑ͕ߴ͘࢖͍΍͘͢ײͨ͡ɽ 18