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

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.

主站蜘蛛池模板: 呼和浩特市| 泰顺县| 崇左市| 天峨县| 长岭县| 磐石市| 秦皇岛市| 景泰县| 台东市| 西城区| 房产| 海南省| 揭阳市| 珲春市| 维西| 札达县| 远安县| 松原市| 桃源县| 通山县| 如东县| 涞水县| 内江市| 敖汉旗| 图片| 镇平县| 溧阳市| 文昌市| 香格里拉县| 兰考县| 白沙| 鸡东县| 铜梁县| 河北省| 丹江口市| 密云县| 凌海市| 桓台县| 泾阳县| 行唐县| 襄汾县|