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

Computer organizations and architecture i1consider a

Computer Organizations and Architecture I 1. Consider a hypothetical 32-bit microprocessor having 32-bit instructions composed oftwo fields: the first byte contains the opcode and the remainder the immediate operandor an ...

1 ideally a method should have no side effects can you

1. Ideally, a method should have no side effects. Can you write a program in which no method has a side effect? Would such a program be useful? 2. Write preconditions for the following methods. Do not implement the metho ...

1 how does an nni differ from a uni2 what is the

1. How does an NNI differ from a UNI? 2. What is the relationship between TPs, VPs, and VCs? 3. How is an ATM virtual connection identified? 4. Name the ATM layers and their functions. 5. How many virtual connections can ...

A simple strategy for aborting g-machine instructions when

A simple strategy for aborting G-machine instructions when page faults occur would be simply to reset the G machine's program counter and stack pointer to the values they had when the current instruction began to execute ...

Your group is working for a global organization that

Your group is working for a global organization that handles highly classified intellectual property. In many situations and scenarios, the implementation and operations teams have been creating and setting up environmen ...

1 there is a small bug in the heroes and cowards model can

1. There is a small bug in the Heroes and Cowards model. Can you find and fix it? 2. Another model that uses similar rules to Heroes and Cowards is the Follower model in the Art section of the NetLogo models library. How ...

1 as mentioned in the link-layer fragmentation and

1. As mentioned in the "Link-Layer Fragmentation and Interleaving" section, PPP, Frame Relay, ATM, and other WAN technologies support fragmenting packets (frames) at Layer 2. As you may have learned in basic networking c ...

1 in a tcp connection the window size fluctuates between

1. In a TCP connection, the window size fluctuates between 60,000 bytes and 30,000 bytes. If the average RTT is 30 ms, what is the throughput of the connection? 2. If originally RTTS = 14 ms and α is set to 0.2, calculat ...

Crossing disciplines at the end of the chapter we

Crossing disciplines At the end of the chapter, we speculated on how the Wolf Sheep Simple model might be construed as, or converted into, a model of companies moving around in a marketplace searching for resources. Deve ...

1 what do we mean when we say that a link-layer switch can

1. What do we mean when we say that a link-layer switch can filter traffic? Why is filtering important? 2. Which one has more overhead, a switch or a router? Explain your answer. 3. Which one has more overhead, a hub or ...

  • 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