第2章準備
2.3.12. Discussion2.3.12 考察
In this section, we have reviewed all the linear algebra that you will need to understand a significant chunk of modern deep learning. There is a lot more to linear algebra, though, and much of it is useful for machine learning. For example, matrices can be decomposed into factors, and these decompositions can reveal low-dimensional structure in real-world datasets. There are entire subfields of machine learning that focus on using matrix decompositions and their generalizations to high-order tensors to discover structure in datasets and solve prediction problems. But this book focuses on deep learning. And we believe you will be more inclined to learn more mathematics once you have gotten your hands dirty applying machine learning to real datasets. So while we reserve the right to introduce more mathematics later on, we wrap up this section here.
英語のヒント
この節では、現代の深層学習のかなりの部分を理解するのに必要な線形代数をすべて見直した。とはいえ、線形代数にはもっと多くのことがあり、その多くは機械学習に役立つ。たとえば、行列は因子に分解でき、こうした分解は現実のデータセットの低次元の構造を明らかにしうる。行列分解や、その高階テンソルへの一般化を使って、データセットの構造を見つけたり予測問題を解いたりすることに焦点を当てた、機械学習の下位分野がまるごといくつもある。しかし、この本は深層学習に焦点を当てる。そして、現実のデータセットに機械学習を実際に当てはめてみれば、もっと数学を学びたいという気持ちが強くなると考えている。そこで、後でさらに数学を導入する権利は留保しつつ、この節はここで締めくくる。
If you are eager to learn more linear algebra, there are many excellent books and online resources. For a more advanced crash course, consider checking out Strang (1993), Kolter (2008), and Petersen and Pedersen (2008).
英語のヒント
To recap:
英語のヒント
まとめると、
- Scalars, vectors, matrices, and tensors are the basic mathematical objects used in linear algebra and have zero, one, two, and an arbitrary number of axes, respectively.
英語のヒント
スカラー、ベクトル、行列、テンソルは、線形代数で使われる基本的な数学的対象で、それぞれ0個、1個、2個、任意の個数の軸をもつ。 - Tensors can be sliced or reduced along specified axes via indexing, or operations such as
sumandmean, respectively.英語のヒント
テンソルは、指定した軸に沿って、インデックス指定でスライスしたり、sumやmeanのような演算で縮約したりできる。 - Elementwise products are called Hadamard products. By contrast, dot products, matrix–vector products, and matrix–matrix products are not elementwise operations and in general return objects having shapes that are different from the the operands.
英語のヒント
要素ごとの積をアダマール積という。これに対して、内積、行列とベクトルの積、行列どうしの積は要素ごとの演算ではなく、一般に、被演算子とは異なる形状のオブジェクトを返す。 - Compared to Hadamard products, matrix–matrix products take considerably longer to compute (cubic rather than quadratic time).
英語のヒント
アダマール積と比べると、行列どうしの積は計算にずっと長い時間がかかる(2乗の時間ではなく3乗の時間)。 - Norms capture various notions of the magnitude of a vector (or matrix), and are commonly applied to the difference of two vectors to measure their distance apart.
英語のヒント
ノルムは、ベクトル(または行列)の大きさのさまざまな概念をとらえ、二つのベクトルの差に当てはめて、両者の距離を測るのによく使われる。 - Common vector norms include the and norms, and common matrix norms include the spectral and Frobenius norms.
英語のヒント
よく使うベクトルのノルムにはノルムとノルムがあり、よく使う行列のノルムにはスペクトルノルムとフロベニウスノルムがある。