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

Partial derivatives

Until now we've been working with univariate functions, but the type of function we will mostly work with from now on will be multivariate, as the dataset will contain much more than one column and each one of them will represent a different variable.

In many cases, we will need to know how the function changes in a relationship with only one dimension, which will involve looking at how one column of the dataset contributes to the total number of function changes.

The calculation of partial derivatives consists of applying the already known derivation rules to the multivariate function, considering the variables are not being derived as constant.

Take a look at the following power rule:

f(x,y) = 2x3y

When differentiating this function with respect to x, considering y a constant, we can rewrite it as 3 . 2 y x2, and applying the derivative to the variable x allows us to obtain the following derivative:

d/dx (f(x,y)) = 6y*x2

Using these techniques, we can proceed with the more complex multivariate functions, which will be part of our feature set, normally consisting of much more than two variables.

主站蜘蛛池模板: 九龙县| 通州市| 吕梁市| 新平| 新沂市| 肇源县| 且末县| 兴义市| 沂水县| 霍山县| 辽宁省| 藁城市| 大渡口区| 邳州市| 青川县| 资溪县| 平利县| 江城| 杂多县| 嘉兴市| 宣汉县| 咸阳市| 任丘市| 沭阳县| 衡南县| 陆良县| 丽江市| 祁连县| 峨山| 清原| 临江市| 右玉县| 华池县| 温州市| 临洮县| 梅州市| 阳信县| 东山县| 南汇区| 高碑店市| 宁强县|