Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Computer Engineering Expert

DATA MINING and NEURAL NETWORKS

Computational Task 1


Please consider the following database.

It represents some of the results of presidential elections in the USA over the period from 1860 until 1992.

For your convenience data were separated in 2 classes: p–class corresponds to the elections when the presidential party (P-party) candidate won, o–class means opposition candidate (O-party) won.

Attributes were filled according to the answers to the 12 problems.

problems:

1) Has the P-party been in power for more than one term?

2) Did the P-party receive more than 50% of the popular vote in the last election?

3) Was there important activity of a third party during the election year?

4) Was there serious competition in the P-party primaries?

5) Was the P-party candidate the president at the time of election?

6) Was there a depression or recession in election year?

7) Was there a growth in the gross national product of more than 2.1% in the year of election?

8) Did the P-party president make any substantial political changes throughout his term?

9) Did significant social tension exist during the term of the P-party?

10) Was the P-party administration guilty of any serious mistakes or scandals?

11) Was the P-party candidate a national hero?

12) Was the O-party candidate a national hero?

P-PARTY VICTORIES

Election Answers to problems

1672_p_party victory.jpg


O-PARTY VICTORIES

938_Q party victoy.jpg

The task is:

1) Convert the table into format convenient for the processing with MATLAB.

2) Prepare program that perform K Nearest Neighbours algorithm using Euclidian distance. (Your program should not utilise the MATLAB function for KNN)

3) For each row (instance) from the table prepare the results of the cross-validation: for each instance apply the program for different values of K = 1, 2,3,4,5. Analyse the accuracy of the classification using cross-validation and visualize your results.

4) Please create a decision tree for prediction of USA presidential elections. Choose randomly several ex of each class for the test set and exclude them from the training set. Find the training and the test set errors.

5) Which technique works better for this dataset? Elucidate please.

6) Please prepare a conclusion.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91336

Have any Question? 


Related Questions in Computer Engineering

The farmworker movement documentation project founded in

The Farmworker Movement Documentation Project, founded in 2003 by LeRoy Chatfield, is a labor of love. The project seeks to compile and publish primary source accounts from the volunteers who worked with Cesar Chavez to ...

1 give a detailed account of why the three-way handshake is

1. Give a detailed account of why the three-way handshake is a security threat. 2. In the chapter, we gave two examples of how a port scan can be a threat to security. Give three more examples of port scans that can lead ...

1 write down the bit pattern in the fraction assuming a

1. Write down the bit pattern in the fraction assuming a floating point format that uses Binary Coded Decimal (base 10) numbers in the fraction instead of base 2. Assume there are 24 bits, and you do not need to normaliz ...

1 prove that an n x n haar transform matrix is orthogonal

1. Prove that an N x N Haar transform matrix is orthogonal and can be implemented in 0 (N) operations on an N x 1 vector. 5.21 Using the recursive formula for generating the slant transforms prove that these matrices are ...

1 what is the optimal block size for a miss latency of

1. What is the optimal block size for a miss latency of 20×B cycles? 2. What is the optimal block size for a miss latency of 24+B cycles? 3. For constant miss latency, what is the optimal block size? 4. In this exercise, ...

1 under what scenarios would entry 2s valid bit be set to

1. Under what scenarios would entry 2's valid bit be set to zero? 2. What happens when an instruction writes to VA page 30? When would a software managed TLB be faster than a hardware managed TLB? 3. What happens when an ...

Briefly explain storyboard html prototype and language

Briefly explain Storyboard, HTML Prototype and Language Prototype as Interface design Prototyping. Which prototyping technique(s) will work best if analyst want to be closer to the final version of interface design.

The first few numbers of the lucas sequence which is a

The first few numbers of the Lucas sequence which is a variation on the Fibonacci sequence are: 1  3  4  7  11  18  29 ... Design an algorithm to generate the Lucas sequence.

Assume a tcp server is expecting to receive byte 2401 it

Assume a TCP server is expecting to receive byte 2401. It receives asegment with the sequence number 2401 that carries 500 bytes. If the server has no data to send at this moment and has not acknowledged the previous seg ...

1 design and implement a program that compares the use of

1. Design and implement a program that compares the use of linear probing, quadratic probing, and double hashing on a collection of string keys of varying lengths. The program should extract a collection of strings from ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen