官术网_书友最值得收藏!

  • Deep Learning Essentials
  • Wei Di Anurag Bhardwaj Jianing Wei
  • 319字
  • 2021-06-30 19:17:46

Matrix properties

In this section, we will look at some of the important properties matrices which are very useful for deep learning applications.

  • Norm: Norm is an important property of a vector or a matrix that measures the size of the vector or the matrix. Geometrically it can also be interpreted as the distance of a point, x, from an origin. A Lp norm is therefore defined as follows:

Though a norm can be computed for various orders of p, most popularly known norms are L1 and L2 norm. Lnorm is usually considered a good choice for sparse models:

Another norm popular in the deep learning community is the max norm, also referred to as L. This is simply equivalent to the value of the largest element in the vector:

So far, all the previously mentioned norms are applicable to vectors. When we want to compute the size of a matrix, we use Frobenius norm, defined as follows:

Norms are usually used as they can be used to compute the dot product of two vectors directly:

  • Trace: Trace is an operator that is defined as the sum of all the diagonal elements of a matrix:

Trace operators are quite useful in computing the Frobenius norm of the matrix, as follows:

Another interesting property of trace operator is that it is invariant to matrix transpose operations. Hence, it is often used to manipulate matrix expressions to yield meaningful identities:

  • Determinant: A determinant of a matrix is defined as a scalar value which is simply a product of all the eigenvalues of a matrix. They are generally very useful in the analysis and solution of systems of linear equations. For instance, according to Cramer's rule, a system of linear equations has a unique solution, if and only if, the determinant of the matrix composed of the system of linear equations is non-zero.
主站蜘蛛池模板: 华坪县| 牡丹江市| 庆安县| 淮阳县| 白玉县| 合水县| 阿克陶县| 平昌县| 舟曲县| 南澳县| 宣恩县| 龙口市| 阳高县| 安龙县| 襄城县| 松江区| 灵台县| 内黄县| 临江市| 望城县| 乐山市| 赤水市| 庆云县| 邯郸市| 郎溪县| 拉萨市| 宁安市| 巫山县| 广宗县| 安福县| 改则县| 梨树县| 龙游县| 萍乡市| 莱阳市| 沈阳市| 工布江达县| 新巴尔虎右旗| 兴城市| 永康市| 藁城市|