プリンキピア

第22章付録:深層学習のための数学

22.1.6. Rank22.1.6 ランク

If we have a general n×m matrix, it is reasonable to ask what dimension space the matrix maps into. A concept known as the rank will be our answer. In the previous section, we noted that a linear dependence bears witness to compression of space into a lower dimension and so we will be able to use this to define the notion of rank. In particular, the rank of a matrix 𝐀 is the largest number of linearly independent columns amongst all subsets of columns. For example, the matrix
英語のヒント
一般のn×m行列があるとき、その行列がどの次元の空間に写すのかを問うのはもっともである。ランクとして知られる概念がその答えになる。前の節で、線形従属は空間がより低い次元に押しつぶされることの証拠であることに触れたので、これを使ってランクの概念を定義できる。とくに、行列𝐀のランクは、列のすべての部分集合の中で線形独立な列の最大の数である。たとえば、次の行列は、
𝐁=[24−1−2],(22.1.19)
has rank(B)=1, since the two columns are linearly dependent, but either column by itself is not linearly dependent. For a more challenging example, we can consider
英語のヒント
rank(B)=1である。二つの列は線形従属だが、どちらの列も単独では線形従属ではないからである。もっと難しい例として、次を考えられる。
𝐂=[130−10−1011−10310−123−1−21],(22.1.20)
and show that 𝐂 has rank two since, for instance, the first two columns are linearly independent, however any of the four collections of three columns are dependent.
英語のヒント
そして、𝐂のランクが2であることを示せる。たとえば最初の二つの列は線形独立だが、三つの列からなる四つの集まりはどれも従属だからである。
This procedure, as described, is very inefficient. It requires looking at every subset of the columns of our given matrix, and thus is potentially exponential in the number of columns. Later we will see a more computationally efficient way to compute the rank of a matrix, but for now, this is sufficient to see that the concept is well defined and understand the meaning.
英語のヒント
ここで述べた手順は、とても非効率である。与えられた行列の列のすべての部分集合を見る必要があり、したがって列の数について指数的になりうる。後で、行列のランクを計算するもっと計算効率のよい方法を見るが、今のところは、この概念がきちんと定義されていることを確かめ、その意味を理解するのにこれで十分である。