プリンキピア

第18章ガウス過程

18.3.6. Summary18.3.6 まとめ

We can combine a Gaussian process prior with data to form a posterior, which we use to make predictions. We can also form a marginal likelihood, which is useful for automatic learning of kernel hyperparameters, which control properties such as the rate of variation of the Gaussian process. The mechanics of forming the posterior and learning kernel hyperparameters for regression are simple, involving about a dozen lines of code. This notebook is a good reference for any reader wanting to quickly get “up and running” with Gaussian processes. We also introduced the GPyTorch library. Although the GPyTorch code for basic regression is relatively long, it can be trivially modified for other kernel functions, or more advanced functionality we will discuss in future notebooks, such as scalable inference, or non-Gaussian likelihoods for classification.
英語のヒント
ガウス過程の事前分布をデータと組み合わせて事後分布を作り、それを使って予測をすることができる。周辺尤度も作れる。周辺尤度は、ガウス過程の変化の速さのような性質を制御するカーネルのハイパーパラメータを自動的に学習するのに役立つ。回帰で事後分布を作りカーネルのハイパーパラメータを学習する仕組みは単純で、十数行のコードですむ。このノートブックは、ガウス過程をすぐに「使いはじめ」たい読者にとってよい参考になる。GPyTorchライブラリも紹介した。基本的な回帰のためのGPyTorchのコードは比較的長いが、ほかのカーネル関数や、大規模推論や分類のための非ガウスの尤度のような、今後のノートブックで論じるもっと高度な機能のために、たやすく変更できる。