- Hands-On Machine Learning with ML.NET
- Jarred Capellman
- 241字
- 2021-06-24 16:43:25
Defining your features
The second step in machine learning is defining your features. Think of features as components or attributes of the problem you wish to solve. In machine learning – specifically, when creating a new model – features are one of the biggest impacts on your model's performance. Properly thinking through your problem statement will promote an initial set of features that will drive differentiation between your dataset and model results. Going back to the Mayor example in the preceding section, what features would you consider data points for the citizen? Perhaps start by looking at the Mayor's competition and where he/she sits on issues in ways that differ from other candidates. These values could be turned into features and then made into a poll for citizens of John Doe County to answer. Using these data points would create a solid first pass at features. One aspect here that is also found in model building is running several iterations of feature engineering and model training, especially as your dataset grows. After model evaluation, feature importance is used to determine what features are actually driving your predictions. Occasionally, you will find that gut-instinct features can actually be inconsequential after a few iterations of model training and feature engineering.
In Chapter 11, Training and Building Production Models, we will deep dive into best practices when defining features and common approaches to complex problems to obtain a solid first pass at feature engineering.
- Python 3.7網絡爬蟲快速入門
- 密碼學原理與Java實現
- GraphQL學習指南
- C# 2012程序設計實踐教程 (清華電腦學堂)
- Cross-platform Desktop Application Development:Electron,Node,NW.js,and React
- HTML5游戲開發案例教程
- Python:Master the Art of Design Patterns
- Java系統化項目開發教程
- 基于Struts、Hibernate、Spring架構的Web應用開發
- 用戶體驗可視化指南
- Mastering Linux Security and Hardening
- Spring MVC+MyBatis開發從入門到項目實踐(超值版)
- 深入理解Java虛擬機:JVM高級特性與最佳實踐
- 原型設計:打造成功產品的實用方法及實踐
- Cloud Development andDeployment with CloudBees