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

Regularization

Regularization is one possible approach that a data scientist may use for improving the results generated from a statistical model or data science process, such as when addressing a case of overfitting in statistics and data science.

We defined fitting earlier in this chapter (fitting describes how well a statistical model or process describes a data scientist's observations). Overfitting is a scenario where a statistical model or process seems to fit too well or appears to be too close to the actual data.

Overfitting usually occurs with an overly simple model. This means that you may have only two variables and are drawing conclusions based on the two. For example, using our previously mentioned example of daffodil sales, one might generate a model with temperature as an independent variable and sales as a dependent one. You may see the model fail since it is not as simple as concluding that warmer temperatures will always generate more sales.

In this example, there is a tendency to add more data to the process or model in hopes of achieving a better result. The idea sounds reasonable. For example, you have information such as average rainfall, pollen count, fertilizer sales, and so on; could these data points be added as explanatory variables?

An explanatory variable is a type of independent variable with a subtle difference. When a variable is independent, it is not affected at all by any other variables. When a variable isn't independent for certain, it's an explanatory variable.

Continuing to add more and more data to your model will have an effect but will probably cause overfitting, resulting in poor predictions since it will closely resemble the data, which is mostly just background noise.

To overcome this situation, a data scientist can use regularization, introducing a tuning parameter (additional factors such as a data points mean value or a minimum or maximum limitation, which gives you the ability to change the complexity or smoothness of your model) into the data science process to solve an ill-posed problem or to prevent overfitting.

主站蜘蛛池模板: 荣昌县| 明星| 旅游| 新兴县| 南川市| 浠水县| 佛山市| 尚志市| 莲花县| 周宁县| 仙桃市| 交口县| 宾川县| 湖州市| 肃南| 大新县| 沂源县| 大关县| 枣阳市| 霸州市| 安乡县| 遵化市| 九龙坡区| 邳州市| 蒲城县| 临海市| 金昌市| 舒兰市| 陆川县| 千阳县| 浑源县| 连州市| 龙口市| 新泰市| 利川市| 芦山县| 阜新| 南和县| 阳高县| 台东市| 保亭|