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

Capacity of a model

If we consider a supervised model as a set of parameterized functions, we can define representational capacity as the intrinsic ability of a certain generic function to map a relatively large number of data distributions. To understand this concept, let's consider a function f(x) that admits infinite derivatives, and rewrite it as a Taylor expansion:

We can decide to take only the first n terms, so to have an n-degree polynomial function. Consider a simple bi-dimensional scenario with six functions (starting from a linear one); we can observe the different behavior with a small set of data points:

Different behavior produced by six polynomial separating curves

The ability to rapidly change the curvature is proportional to the degree. If we choose a linear classifier, we can only modify its slope (the example is always in a bi-dimensional space) and the intercept. Instead, if we pick a higher-degree function, we have more possibilities to bend the curvature when it's necessary. If we consider n=1 and n=2 in the plot (on the top-right, they are the first and the second functions), with n=1, we can include the dot corresponding to x=11, but this choice has a negative impact on the dot at x=5.

Only a parameterized non-linear function can solve this problem efficiently, because this simple problem requires a representational capacity higher than the one provided by linear classifiers. Another classical example is the XOR function. For a long time, several researchers opposed perceptrons (linear neural networks), because they weren't able to classify a dataset generated by the XOR function. Fortunately, the introduction of multilayer perceptrons, with non-linear functions, allowed us to overcome this problem, and many whose complexity is beyond the possibilities of any classic machine learning model.

主站蜘蛛池模板: 西乌珠穆沁旗| 永康市| 宁波市| 龙门县| 青浦区| 重庆市| 桐庐县| 浦东新区| 邵阳市| 广南县| 宁明县| 岚皋县| 墨江| 呼和浩特市| 渝北区| 平邑县| 四川省| 泰和县| 巩义市| 苏州市| 乾安县| 马公市| 屏山县| 海宁市| 阜平县| 若尔盖县| 桃园县| 临颍县| 托克托县| 土默特右旗| 灵石县| 遵义市| 大化| 普宁市| 芜湖市| 河北省| 郧西县| 木里| 咸宁市| 巧家县| 滦平县|