第22章付録:深層学習のための数学
22.8. Distributions22.8 分布
Now that we have learned how to work with probability in both the discrete and the continuous setting, let’s get to know some of the common distributions encountered. Depending on the area of machine learning, we may need to be familiar with vastly more of these, or for some areas of deep learning potentially none at all. This is, however, a good basic list to be familiar with. Let’s first import some common libraries.
英語のヒント
離散と連続の両方の設定で確率を扱う方法を学んだので、よく出会う分布のいくつかを知っておこう。機械学習の分野によっては、これよりはるかに多くの分布に慣れておく必要があるかもしれないし、深層学習の分野によってはまったく必要ないかもしれない。しかし、これは慣れておくのによい基本的なリストである。まず、よく使うライブラリをいくつかインポートしよう。
%matplotlib inline
from math import erf, factorial
import torch
from IPython import display
from d2l import torch as d2l
torch.pi = torch.acos(torch.zeros(1)) * 2 # Define pi in torch