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

The parameter estimation

The output of each layer on the network is dependent on the parameters of the model estimated by training the neural network to minimize the loss with respect to the weights, , as we described earlier. This is a general principle in machine learning, in which a learning procedure, for example backpropagation, uses the gradients of the error of a model to update its parameters to minimize the error. Consider estimating the parameters of a linear regression model such that the output of the model minimizes the mean squared error (MSE). Mathematically speaking, the point-wise error between the predictions and the target value is computed as follows:

The MSE is computed as follows:

,

where presents the sum of the squared errors (SSE) and normalizes the SSE with the number of samples to reach the mean squared error (MSE).

In the case of linear regression, the problem is convex and the MSE has the simple closed solution given in the following equation:

Here, is the coefficient of the linear model, refers to matrices with the observations and their respective features, and is the response value associated with each observation. Note that this closed form solution requires the matrix to be invertible and, hence, to have a determinant larger than 0.

In the case of models where a closed solution to the loss does not exist, we can estimate the parameters that minimize the MSE by computing the partial derivative of each weight with respect to the MSE loss, , and using the negative of that value, scaled by a learning rate, , to update the parameters of the model being evaluated:

A model in which many of the coefficients in are 0 is said to be sparse. Given the large number of parameters or coefficients in deep learning models, producing models that are sparse is valuable because it can reduce computation requirements and produce models with faster inference.

主站蜘蛛池模板: 满洲里市| 扬州市| 芒康县| 武义县| 桦南县| 玛沁县| 麻栗坡县| 绥江县| 兴宁市| 拜城县| 宜昌市| 根河市| 乳源| 台州市| 连平县| 厦门市| 应城市| 麦盖提县| 淮北市| 喜德县| 准格尔旗| 沂水县| 盐边县| 北辰区| 揭阳市| 扶风县| 广宗县| 北川| 大同县| 嘉义县| 磐安县| 抚松县| 开平市| 西贡区| 白朗县| 临沂市| 永春县| 青河县| 和龙市| 久治县| 长泰县|