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

Calculate the cpi for the system listed above assuming that

Calculate the CPI for the system listed above assuming that there are no accesses to I/O. What is the CPI if the VMM performance impact doubles? If it is cut in half? If a virtual machine software company wishes to obtai ...

Assignmentconsider the following scenarioyou are the it

Assignment Consider the following scenario: You are the IT Manager of a small financial services firm that is in the process of upgrading its content management system. You have been tasked to plan an IT budget and staff ...

Recall that criteria creep is the process of refining

Recall that "criteria creep" is the process of refining evaluation requirements as the industry gains experience with them, making the evaluation criteria something of a moving target. This issue is not confined to the T ...

Consider an ltid system specified by the equation yn 1 -

Consider an LTID system specified by the equation y[n + 1] - 0.5y[n] = x[n + 1] + 0.8x[n]. (a) Determine and sketch the magnitude and the phase responses. (b) Find the system response y[n] to the input x[n] = cos(0.5n - ...

Matlabs fft command computes the dft of a vector x assuming

MATLAB's fft command computes the DFT of a vector x assuming that the first sample occurs at time n = 0. Given that X = fft(x) has already been computed, derive a method to correct X to reflect an arbitrary starting time ...

1 research and develop a comprehensive list of the current

1. Research and develop a comprehensive list of the current known viruses. 2. Research, find, and study a virus code. Write an antivirus for that code. 3. Look at a popular application such as PowerPoint or Excel. Find a ...

Different types of distributions in this model we used a

Different types of distributions In this model we used a mean and discussed how to use variance to characterize the results of multiple runs. This characterization assumes that the distribution of data can be described u ...

Find the type simple sequence sequence of of the following

Find the type (simple, sequence, sequence of) of the following objects in SMI. a. An unsigned integer b. An IP address c. An object name d. A list of integers e. A record defining an object name, an IP address, and an in ...

Suppose a vending machine contains products and users

Suppose a vending machine contains products, and users insert coins into the vending machine to purchase products. Draw a UML diagram showing the dependencies between the classes VendingMachine, Coin, and Product.

In 450 words with referenceswhy does an operations manager

In 450 words with references: Why does an operations manager need to understand the financial side of the healthcare organization? How are the three financial statements related and what does the information measure?

  • 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