- Deep Learning By Example
- Ahmed Menshawy
- 214字
- 2021-06-24 18:52:46
Derived features
In the previous section, we applied some transformations to the Titanic data in order to be able to use the random forest classifier of scikit-learn (which only accepts numerical data). In this section, we are going to define another type of variable, which is derived from one or more other features.
Under this definition, we can say that some of the transformations in the previous section are also called derived features. In this section, we will look into other, complex transformations.
In the previous sections, we mentioned that you need to use your feature engineering skills to derive new features to enhance the model's predictive power. We have also talked about the importance of feature engineering in the data science pipeline and why you should spend most of your time and effort coming up with useful features. Domain knowledge will be very helpful in this section.
Very simple examples of derived features will be something like extracting the country code and/or region code from a telephone number. You can also extract the country/region from the GPS coordinates.
The Titanic data is a very simple one and doesn't contain a lot of variables to work with, but we can try to derive some features from the text feature that we have in it.
- Mastering Proxmox(Third Edition)
- 機器學(xué)習(xí)及應(yīng)用(在線實驗+在線自測)
- Hands-On Artificial Intelligence on Amazon Web Services
- 錯覺:AI 如何通過數(shù)據(jù)挖掘誤導(dǎo)我們
- VMware Performance and Capacity Management(Second Edition)
- Mastering Elastic Stack
- Windows程序設(shè)計與架構(gòu)
- Learn CloudFormation
- 電氣控制與PLC技術(shù)應(yīng)用
- 智能生產(chǎn)線的重構(gòu)方法
- Extending Ansible
- LMMS:A Complete Guide to Dance Music Production Beginner's Guide
- Photoshop CS4數(shù)碼攝影處理50例
- 中國戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展·數(shù)控系統(tǒng)
- 機器人剛?cè)狁詈蟿恿W(xué)