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

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.

主站蜘蛛池模板: 济阳县| 班玛县| 那曲县| 郓城县| 德安县| 徐州市| 衡水市| 五常市| 临猗县| 西城区| 乌兰县| 定边县| 华容县| 右玉县| 班玛县| 丰县| 新和县| 桐乡市| 金塔县| 合肥市| 吐鲁番市| 龙泉市| 于都县| 合作市| 永州市| 沙坪坝区| 镶黄旗| 定陶县| 融水| 马鞍山市| 瑞金市| 蒙城县| 赤城县| 印江| 沙河市| 西青区| 南江县| 仪征市| 苏尼特左旗| 济南市| 务川|