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

  • 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.
主站蜘蛛池模板: 伊春市| 奉新县| 大渡口区| 通化县| 延津县| 营山县| 阿勒泰市| 青田县| 建平县| 沁水县| 广丰县| 东辽县| 墨玉县| 新郑市| 江安县| 潼关县| 巩留县| 东丽区| 宁城县| 双鸭山市| 曲沃县| 塔城市| 宣武区| 天气| 温泉县| 永川市| 政和县| 宣汉县| 铜梁县| 东至县| 虹口区| 荔浦县| 克什克腾旗| 新干县| 大厂| 开远市| 葫芦岛市| 理塘县| 资讯 | 柳林县| 奉贤区|