Data Science by John D. Kelleher & Brendan Tierney
Author:John D. Kelleher & Brendan Tierney
Language: eng
Format: epub
Tags: Data science; data; data sets; computer science, data mining; machine learning; ML; decision-making; advertising; targeting; analysis; modelling; deep learning; gather; storage; privacy
Publisher: The MIT Press
Published: 2018-05-23T16:00:00+00:00
Decision Trees
Linear regression and neural networks work best with numeric inputs. If the input attributes in a data set are primarily nominal or ordinal, however, then other ML algorithms and models, such as decision trees, may be more appropriate.
A decision tree encodes a set of if then, else rules in a tree structure. Figure 16 illustrates a decision tree for deciding whether an email is spam or not. Rectangles with rounded corners represent tests on attributes, and the square nodes indicate decision, or classification, nodes. This tree encodes the following rules: if the email is from an unknown sender, then it is spam; if it isn’t from an unknown sender but contains suspicious words, then it is spam; if it is neither from an unknown sender nor contains suspicious words, then it is not spam. In a decision tree, the decision for an instance is made by starting at the top of the tree and navigating down through the tree by applying a sequence of attribute tests to the instance. Each node in the tree specifies one attribute to test, and the process descends the tree node by node by choosing the branch from the current node with the label matching the value of the test attribute of the instance. The final decision is the label of the terminating (or leaf) node that the instance descends to.
Figure 16 A decision tree for determining whether an email is spam or not.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Learning SQL by Alan Beaulieu(6004)
Weapons of Math Destruction by Cathy O'Neil(5795)
Digital Minimalism by Cal Newport;(5341)
iGen by Jean M. Twenge(5133)
Sapiens by Yuval Noah Harari(5100)
The Age of Surveillance Capitalism by Shoshana Zuboff(3964)
Elon Musk by Ashlee Vance(3831)
Thing Explainer by Randall Munroe(3761)
Apollo 8 by Jeffrey Kluger(3490)
Future Crimes by Marc Goodman(3351)
The Science Book (Big Ideas Simply Explained) by DK(3121)
Who Can You Trust? by Rachel Botsman(3018)
I Live in the Future & Here's How It Works by Nick Bilton(2824)
Infinite Energy Technologies by Finley Eversole(2812)
Steve Jobs by Walter Isaacson(2734)
Dawn of the New Everything by Jaron Lanier(2672)
Chernobyl by Serhii Plokhy(2420)
Ben Franklin's Almanac by Candace Fleming(2367)
Energy Myths and Realities by Vaclav Smil(2358)
