Midterm Test

The midterm test is over chapters 1-5. Please use this template and answer the questions on this form. Place your name at the top of this page prior to submitting (or add a cover page to this paper),


Midterm Test

The midterm test is over chapters 1-5.  Please use this template and answer the questions on this form.  Place your name at the top of this page prior to submitting (or add a cover page to this paper),


  1. For each of the datasets note if data privacy is an important issue
    1. Census data collected from 1900- 1950
    2. IP addresses and visit times of web users who visit your website.
    3. Images from Earth orbiting satellites
    4. Names and addresses of people from the telephone book
    5. Names and email addresses collected from the web.


  1. Classify the following attributes as binary, discrete, or continuous. Also classify them as qualitative (nominal or ordinal) or quantitative (interval or ratio). Some cases may have more than one interpretation, so briefly indicate your reasoning if you think there may be some ambiguity.

Example: Age in years. Answer: Discrete, quantitative, ratio


(a) Time in terms of AM or PM.

(b) Brightness as measured by a light meter.

(c) Brightness as measured by people’s judgments.

(d) Angles as measured in degrees between 0◦ and 360◦.

(e) Bronze, Silver, and Gold medals as awarded at the Olympics.

(f) Height above sea level.

(g) Number of patients in a hospital.

(h) ISBN numbers for books. (Look up the format on the Web.)

(i) Ability to pass light in terms of the following values: opaque, translucent, transparent.

(j) Military rank.

(k) Distance from the center of campus.

(l) Density of a substance in grams per cubic centimeter.

(m) Coat check number. (When you attend an event, you can often give your coat to someone who, in turn, gives you a number that you can use to claim your coat when you leave.)


  1. Which of the following quantities is likely to show more temporal autocorrelation: daily rainfall or daily temperature? Why?
  2. Distinguish between noise and outliers. Be sure to consider the following questions.
    1. Is noise ever interesting or desirable? Outliers?
    2. Can noise objects be outliers?
    3. Are noise objects always outliers?
    4. Are outliers always noise objects?
    5. Can noise make a typical value into an unusual one, or vice versa?
  3. Discuss the advantages and disadvantages of using sampling to reduce the number of data objects that need to be displayed. Would simple random sampling (without replacement) be a good approach to sampling? Why or why not?
  4. How might you address the problem that a histogram depends on the number and location of the bins?
  5. Show that the entropy of a node never increases after splitting it into smaller successor nodes.
  6. Compute a two-level decision tree using the greedy approach described in this chapter. Use the classification error rate as the criterion for splitting. What is the overall error rate of the induced tree?

Note: To determine the test condition at the root note, you first need to compute the error rates for attributes X, Y, and Z.

For attribute X the corresponding counts are:

x c1 c2
0 60 60
1 40 40

For Y the corresponding counts are:

y c1 c2
0 40 60
1 60 40

For Z the corresponding counts are:

Z c1 c2
0 30 70
1 70 30


  1. Consider a binary classification problem with the following set of attributes and attribute values:


  • Air Conditioner = {Working, Broken}
  • Engine = {Good, Bad}
  • Mileage = {High, Medium, Low}
  • Rust = {Yes, No}

Suppose a rule-based classifier produces the following rule set:

Mileage = High −→ Value = Low

Mileage = Low −→ Value = High

Air Conditioner = Working, Engine = Good −→ Value = High

Air Conditioner = Working, Engine = Bad −→ Value = Low

Air Conditioner = Broken −→ Value = Low (


  1. a) Are the rules mutually exclusive?
  2. b) Is the rule set exhaustive?
  3. c) Is ordering needed for this set of rules?
  4. d) Do you need a default class for the rule set?


  1. Consider the one-dimensional data set shown below:


X .5 3.0 4.5 4.6 4.9 5.2 5.3 5.5 7.0 9.5
Y + + + +



  • Classify the data point x = 5.0 according to its 1-, 3-, 5-, and 9-nearest neighbors (using majority vote).
  • Repeat the previous analysis using the distance-weighted voting approach.


Calculate your paper price
Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

Our writers are encouraged to read and research widely to have rich information before writing clients’ papers. Therefore, be it high school or PhD level paper, it will always be a well-researched work handled by experts.

Professional and Experienced Academic Writers

For one to become part of our team, thorough interview and vetting is undertaken to make sure their academic level and experience are beyond reproach, hence enabling us give our clients top quality work.

Free Unlimited Revisions

Once you have received your paper and feel that some issues have been missed, just request for revision and it will be done. In addition, you can present your work to the tutor and he/she asks for improvement/changes, we are always ready to assist.

Prompt Delivery and 100% Money-Back-Guarantee

All our papers are sent to the clients before the deadline to allow them time to review the work before presenting to the tutor. If for some reason we feel our writers cannot meet the deadline, we will contact you to ask for more time. If this is not possible, then the paid amount will be refunded.

Original & Confidential

Our writers have been trained to ensure work produced is free of plagiarism. Software to check originality are also applied. Our clients’ information is highly guarded from third parties to ensure confidentiality is maintained.

24/7 Customer Support

Our support team is available 24 hours, 7 days a week. You can reach the team via live chat, email or phone call. You can always get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

You have had a hectic day, and still need to complete your assignment, yet it is late at night. No need to panic. Place your order with us, retire to bed, and once you wake up, the paper will be ready.


Essay Writing Service

It does not matter the urgency of your paper, or the academic level, our team is ready to help you 24/7. Just contact us and all your academic needs will be sorted.


Admission Essays & Business Writing Help

A student is often required to write an admission letter requesting to be admitted in a certain institution. For you to be gain that admission in your dream institution, you must write a convincing letter. You can depend on our team for the best admission letters.


Editing Support

Academic writing is not just about getting information and throwing it all over. Our team will ensure you have a polished paper that is coherent and has a good flow of information. We also ensure the paper follows the correct formatting styles like APA, Harvard, MLA, Chicago/Turabian.


Revision Support

If our writers write a paper but you are not satisfied in one way or another, you can always ask for revision. This is totally free. Our writers and editors will revise your paper untill you are be totally satisfied. We as well offer revision for papers not done by our writers at a small fee.