- 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.
- 深入理解Django:框架內幕與實現原理
- 深入淺出Spring Boot 2.x
- Android Development with Kotlin
- ASP.NET Core Essentials
- HTML5+CSS3網站設計教程
- Flash CS6中文版應用教程(第三版)
- Xamarin.Forms Projects
- Visual C#.NET程序設計
- Learning OpenStack Networking(Neutron)(Second Edition)
- Node.js:來一打 C++ 擴展
- Python Data Science Cookbook
- HTML+CSS+JavaScript網頁設計從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- 從零開始:UI圖標設計與制作(第3版)
- Python計算機視覺和自然語言處理
- Go語言從入門到精通