Skip to Content
Making Sense of Data: A Practical Guide to Exploratory Data Analysis and Data Mining
book

Making Sense of Data: A Practical Guide to Exploratory Data Analysis and Data Mining

by Glenn J. Myatt
November 2006
Beginner to intermediate
292 pages
7h 26m
English
Wiley-Interscience
Content preview from Making Sense of Data: A Practical Guide to Exploratory Data Analysis and Data Mining

7.8 EXERCISES

  1. A classification prediction model was built using a training set of examples. A separate test set of 20 examples is used to test the model. Table 7.21 shows the results of applying this test set. Calculate the model's:
    1. Concordance
    2. Error rate
    3. Sensitivity
    4. Specificity

    Table 7.21. Table of actual vs predicted values (categorical response)

    images

  2. A regression prediction model was built using a training set of examples. A separate test set was applied to the model and the results are shown in Table 7.22.
    1. Determine the quality of the model using r2
    2. Calculate the residual for each observation
  3. Table 7.23 shows the relationship between the amount of fertilizer used and the height of a plant.
    1. Calculate a simple linear regression equation using Fertilizer as the descriptor and Height as the response.
    2. Predict the height when fertilizer is 12.3
  4. A kNN model is being used to predict house prices. A training set was used to generate a kNN model and k is determined to be 5. The unseen observation in Table 7.24 is presented to the model. The kNN model determines the five observations in Table 7.25 from the training set to be the most similar. What would be the predicted house price value?
  5. A classification tree model is being used to predict which brand of printer a customer would purchase with a computer. The tree in Figure 7.36 was built from a training set of examples. For a customer ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Making Sense of Data I: A Practical Guide to Exploratory Data Analysis and Data Mining, 2nd Edition

Making Sense of Data I: A Practical Guide to Exploratory Data Analysis and Data Mining, 2nd Edition

Glenn J. Myatt, Wayne P. Johnson
Intelligent Data Analysis

Intelligent Data Analysis

Deepak Gupta, Siddhartha Bhattacharyya, Ashish Khanna, Kalpna Sagar

Publisher Resources

ISBN: 9780470074718Purchase book