Ask Question, Ask an Expert

+61-413 786 465

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 researchers stated that there were no significant

The researchers stated that there were no significant differences in the baseline characteristics of the intervention and control groups. Are these groups heterogeneous or homogeneous at the beginning of the study? Why i ...

Elmers utility function isnbspuxnbspy minxnbspy2 if the

Elmer's utility function is  U ( x ,  y ) = min{ x ,  y 2 }. If the price of  x  is $10 and the price of  y  is $15 and if Elmer chooses to consume 4 units of  y , what must his income be? a. $220 b. $100 c. $320 d. Ther ...

Question suppose you are the co-author of an academic paper

Question : Suppose you are the co-author of an academic paper that is being prepared for publication. The original research idea is yours, but you let your co-authors handle the data collection and actual writing of the ...

Suppose you have an object made up of two w-bit integers x

Suppose you have an object made up of two w-bit integers, x and y. Suppose that the hash code for your object is defined by some deterministic function h(x; y) that produces a single w-bit integer. Prove that there exist ...

What does an income statement a balance sheet and a cash

What does an Income Statement, a Balance Sheet and a Cash Flow System intend to show about a company and how would you use the data contained within in making a credit determination?

Suppose there are n people in a team the coach wants to

Suppose there are n people in a team. The coach wants to know how many different pairs of people he can choose in a team. Write a program in C that shows the coach, the total number of different pairs he can choose in th ...

Is it okay too copy a fellow classmate programming code

Is it okay too copy a fellow classmate programming code when you are stuck? Will that break a school honesty policy? Please explain

What is the example of social behavior or a social

What is the example of social behavior or a social situation that seems inconsistent with the fundamental presupposition, and why this example could be inconsistent?

Albert hoffmans wife has an ipod shuffle with five songs in

Albert Hoffman's wife has an iPod shuffle with five songs in her library: November Rain  by Guns 'N Roses Ain't No Mountain High Enough  by Nicholas Ashford and Valerie Simpson Call Me Maybe  by Carly Rae Jepsen Rainbow ...

What will a firewall not protect from why implement a

What will a firewall not protect from? Why implement a firewall?

  • 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

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As