- Hands-On Machine Learning with Microsoft Excel 2019
- Julio Cesar Rodriguez Martino
- 196字
- 2021-06-24 15:11:02
Deciding whether to train outdoors depending on the weather
Let's suppose we have historical data on the decisions made by an experienced football trainer about training outdoors (outside the gym) or not with her team, including the weather conditions on the days when the decisions were made.
A typical dataset could look as follows:

The dataset was specifically created for this example and, of course, might not represent any real decisions.
In this example, the target variable is Train outside and the rest of the variables are the model features.
According to the data table, a possible decision tree would be as follows:

We choose to start splitting the data by the value of the Outlook feature. We can see that if the value is Overcast, then the decision to train outside is always Yes and does not depend on the values of the other features. Sunny and Rainy can be further split to get an answer.
How can we decide which feature to use first and how to continue? We will use the value of the entropy, measuring how much its value changes when considering different input features.
- Voice Application Development for Android
- 分布式數(shù)據(jù)庫系統(tǒng):大數(shù)據(jù)時(shí)代新型數(shù)據(jù)庫技術(shù)(第3版)
- Enterprise Integration with WSO2 ESB
- 大數(shù)據(jù)Hadoop 3.X分布式處理實(shí)戰(zhàn)
- 數(shù)字媒體交互設(shè)計(jì)(初級(jí)):Web產(chǎn)品交互設(shè)計(jì)方法與案例
- Hands-On Mathematics for Deep Learning
- AI時(shí)代的數(shù)據(jù)價(jià)值創(chuàng)造:從數(shù)據(jù)底座到大模型應(yīng)用落地
- INSTANT Apple iBooks How-to
- 智慧的云計(jì)算
- Hadoop 3實(shí)戰(zhàn)指南
- 算法設(shè)計(jì)與分析
- SQL Server 2008寶典(第2版)
- 企業(yè)大數(shù)據(jù)處理:Spark、Druid、Flume與Kafka應(yīng)用實(shí)踐
- 數(shù)據(jù)指標(biāo)體系:構(gòu)建方法與應(yīng)用實(shí)踐
- Access 2016數(shù)據(jù)庫應(yīng)用基礎(chǔ)