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

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.
主站蜘蛛池模板: 洪江市| 东至县| 五大连池市| 正镶白旗| 保德县| 宁明县| 新干县| 鄂伦春自治旗| 江山市| 太仓市| 德兴市| 湘潭县| 金乡县| 林西县| 岱山县| 澎湖县| 色达县| 抚顺县| 宁夏| 维西| 米林县| 二连浩特市| 舟山市| 定结县| 图们市| 阜阳市| 张家川| 霍邱县| 连江县| 南宁市| 昭平县| 龙川县| 宁安市| 六盘水市| 武穴市| 石景山区| 呼伦贝尔市| 昌都县| 合肥市| 福泉市| 青浦区|