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

In an rsa digital signature scheme bob signs messages xi

In an RSA digital signature scheme, Bob signs messages xi and sends them together with the signatures si and her public key to Alice. Bob's public key is the pair (n,e); her private key is d. Oscar can perform man-in-the ...

1 segment by demographicinput message customer

1. Segment by demographic Input message: Customer Demographic Output message: Demographic Group 2. Segment by purchase behaviour Input message: Customer Purchase Behaviour Output message: Behavioural Group 3. Segment by ...

1 design and implement the iterator class setiterator for

1. Design and implement the iterator class SetIterator for use with the Set ADT implemented using a list. 2. Design and implement the iterator class MapIterator for use with the Map ADT implemented using a list. 3. Devel ...

In the fourth lab we investigate smtp protocol in action we

In the fourth lab, we investigate SMTP protocol in action. We send an e-mail and, using Wireshark, we investigate the contents and the format of the SMTP packet exchanged between the client and the server. We check that ...

Compute x as far as possible without a calculator where

Compute x as far as possible without a calculator. Where appropriate, make use of a smart decomposition of the exponent as shown in the example in Sect. 1.4.1: The last problem is called a discrete logarithm and points t ...

Network design for schoola network has to be designed for a

Network Design for Schoola network has to be designed for a school. There are100 computers in the school. And has 5 Labs each of them consisted of 31 computersThe users in the lab should belong to a single domain and rec ...

Mobile app part 3 riskreference the microsoft project file

Mobile App Part 3 Risk Reference the Microsoft Project file you created in Assignment 5(AT THE ATTACHED): Mobile App Part 2 (Gantt and PERT Charts) for the completion of this assignment. Write a two to three page paper i ...

Shopping cartfor this solution you create the core features

Shopping Cart For this solution, you create the core features of a shopping cart. The solution should work as follows: The user needs to buy some teabags for his mobile café. He goes to a popular online shop. He clicks t ...

As the example of copacobana 105 shows key-search machines

As the example of COPACOBANA [105] shows, key-search machines need not be prohibitive from a monetary point of view. We now consider a simple bruteforce attack on DES which runs on COPACOBANA. 1. Compute the runtime of a ...

Assumenbspthat the it department of a business has hired

Assume  that the IT department of a business has hired you, and your first task is to ensure the department is following essential information security practices. Write  a 2- to 3-page paper highlighting the most importa ...

  • 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

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

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