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

Feature engineering

Feature engineering is one of the key components that contribute to the model's performance. A simple model with the right features can perform better than a complicated one with poor features. You can think of the feature engineering process as the most important step in determining your predictive model's success or failure. Feature engineering will be much easier if you understand the data.

Feature engineering is used extensively by anyone who uses machine learning to solve only one question, which is: how do you get the most out of your data samples for predictive modeling? This is the problem that the process and practice of feature engineering solves, and the success of your data science skills starts by knowing how to represent your data well.

Predictive modeling is a formula or rule that transforms a list of features or input variables (x1, x2,..., xn) into an output/target of interest (y). So, what is feature engineering? It's the process of creating new input variables or features (z1, z2, ..., zn) from existing input variables (x1, x2,..., xn). We don't just create any new features; the newly created features should contribute and be relevant to the model's output. Creating such features that will be relevant to the model's output will be an easy process with knowledge of the domain (such as marketing, medical, and so on). Even if machine learning practitioners interact with some domain experts during this process, the outcome of the feature engineering process will be much better.

An example where domain knowledge can be helpful is modeling the likelihood of rain, given a set of input variables/features (temperature, wind speed, and percentage of cloud cover). For this specific example, we can construct a new binary feature called overcast, where its value equals 1 or no whenever the percentage of cloud cover is less than 20%, and equals 0 or yes otherwise. In this example, domain knowledge was essential to specify the threshold or cut-off percentage. The more thoughtful and useful the inputs, the better the reliability and predictivity of your model.

主站蜘蛛池模板: 乐亭县| 本溪| 内江市| 张家港市| 连平县| 开鲁县| 瑞昌市| 阳信县| 石台县| 苏州市| 岳阳市| 舟曲县| 梅州市| 民丰县| 绥棱县| 宁蒗| 佛冈县| 镇平县| 清新县| 泰安市| 保康县| 旌德县| 开封市| 呼伦贝尔市| 浦县| 永年县| 淮阳县| 宁城县| 惠水县| 甘南县| 天镇县| 台中市| 双鸭山市| 兴城市| 泰安市| 安化县| 方山县| 商城县| 武威市| 旌德县| 河津市|