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

3.6 EXERCISES

A set of 10 hypothetical patient records from a large database is presented in Table 3.9. Patients with a diabetes value of 1 have type II diabetes and patients with a diabetes value of 0 do not have type II diabetes. It is anticipated that this data set will be used to predict diabetes based on measurements of age, systolic blood pressure, diastolic blood pressure, and weight.

  1. For the following variables from Table 3.9, assign them to one of the following categories: constant, dichotomous, binary, discrete, and continuous.
    1. Name
    2. Age
    3. Gender
    4. Blood group
    5. Weight (kg)
    6. Height (m)
    7. Systolic blood pressure
    8. Diastolic blood pressure
    9. Temperature
    10. Diabetes
  2. For each of the following variables, assign them to one of the following scales: nominal, ordinal, interval, ratio.
    1. Name
    2. Age
    3. Gender
    4. Blood group
    5. Weight (kg)
    6. Height (m)
    7. Systolic blood pressure
    8. Diastolic blood pressure
    9. Temperature
    10. Diabetes
  3. On the basis of the anticipated use of the data to build a predictive model, identify:
    1. A label for the observations
    2. The descriptor variables
    3. The response variable
  4. Create a new column by normalizing the Weight (kg) variable into the range 0 to 1 using the min-max normalization.
  5. Create a new column by binning the Weight variable into three categories: low (less than 60 kg), medium (60–100 kg), and high (greater than 100 kg).

    Table 3.9. Table of patient records

    images

  6. Create an aggregated column, ...
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