Write the final weight vector as an equation

Assignment Help Other Subject
Reference no: EM13968236

All the perceptron questions below must be answered by writing a program in the language of your choice that implements the perceptron algorithm given in class. The program should take as input a FILE in this format:

sample_vector class

for the example below the first class should appear as:

0 0 0

0 1 0

---> the class is 0

Notice that the vectors are NOT augmented in the file.

Unless instructed by the problem, all weight vectors must start a 0

This code must be submitted with your answers and I will carefully check each submission

1. Take the original perceptron problem done in class:

class 1: (0,0) and (0,1)

class 2. (1,0) and (1,1)

however: instead of starting the weight vector at (0, 0) start it at (3,-1). So we all get the same answer, the AUGMENTED weight vector should be (3,-1,0)

ANSWER THE FOLLOWING QUESTIONS

(A) what is the final weight vector?

(b) graph the final weight vector

Absolutely no credit given with all the supporting work - all calculations for 1(a) above

2. consider the following points:

class 1: (0 0 -4 1), (2 3 -4 1), (12 14 -4 1)

class 2: (0 0 5 1) , (2 3 5 1), (12 14 5 1)

(a) what is the final weight vector?

(b) write the final weight vector as an equation

3. on page 765 of the text , (Norvig 3rd ed) problem 18.12 asked you to make a decision list and gives you some data. Forget that!

(a) Instead , use Weka to make a decision tree (the easiest thing to do is simply look at an existing ARF file , see the format, and make your own ARF file in the Weka data folder. Dump the decision tree and submit it.

(b) run the perceptron algorithm on the same data.

(1) does the algorithm converge? If so, what is the final weight vector?

(2) if it does not converge, give at least one data point that causes the non convergence of the algorithm

Absolutely no credit given with all the supporting work - all calculations for 2(a) above

4. By hand calculation determine the entropies of the weather NOMINAL dataset included with Weka

(a) give the initial value of the entropy calculation of the Windy Attribute

(b) after the root OUTLOOK is selected, give the value of the value of the remaining attributes under the sunny SUBTREE.

-> Take problem 1 but change the perceptron algorithm to start over again from the first point whenever a misclassification occurs. (The original Algorithm states we go through all the examples in order regardless of whether misclassify or not).

What is the final weight vector using the modified perception algorithm?

Reference no: EM13968236

Questions Cloud

Drivers drive scheduled routes between the cities : Steve is a contract carrier for the United States Postal Service. He has been hauling mail for nearly thirty years. His current contract is to haul mail between 20 cities in the eleven western states. Steve currently has a fleet of 16 tractors and em..
What is the hospitals float : Suppose a hospital writes checks of $100,000 per day and it takes, on average, 7 days for those to be received and clear the banking system. Furthermore, the hospital receives $120,000 in checks daily that take 4 days to be deposited and credited. Wh..
What is informal communication explain its different channel : Define Q2 a Financial statement B ratio analysis C income statement Chapter 15 Q3 What is formal communication different channels of formal communication Q4 What is informal communication Explain its different channels Chapter 14 Q5 What is a servant..
Example of direct labor cost for an airplane manufacturer : The cost of a manufactured product generally consists of which of the following costs?
Write the final weight vector as an equation : What is the final weight vector using the modified perception algorithm - what is the final weight vector and write the final weight vector as an equation
Element in the middle position of the array : 1. Suppose we choose the element in the middle position of the array as pivot. Does this make it unlikely that quicksort will require quadratic time?
Determining the quicksort implementation : a. For the quicksort implementation in this chapter, what is the running time when all keys are equal?
Activities do for their mental-emotional and physical health : Of course we can laugh when our parents and grandparents (or even we) reflect on the “good ol' days” when life was simple and children played in the yard, made fun out of anything they could find, and spent minimal time in front of the “boob tube” an..
Describe the structure of the desert ecosystem : How can these be sustained into the future? How can humans act as good stewards to assist ecosystem recovery? Provide 1 example specific to the ecosystem that you have chosen

Reviews

Write a Review

Other Subject Questions & Answers

  What are the fundaments of sampling

What are the fundaments of sampling

  What is groupthink and provide a definition

What is ‘groupthink?' Provide a definition. Choose two of the following historic events to apply the ‘groupthink' approach to: Space Shuttle Disaster of 1986.

  Sovereign states to international institutions

The delegation of authority from sovereign states to international institutions or organizations is called in international law: The Marshal plan pursued three goals: to save European economy, to boost the US economy and:

  Critical path analysis is a part

Critical path analysis is a part of which of the following?

  Delusions and gross disorganization of personality

This is a psychotic disorder that features hallucinations, delusions, and gross disorganization of personality. It is manageable with anti-psychotic drugs, therapy and other psychosocial interventions ___________________.

  Genetic/environmental-personal factors

Anorexia Nervosa and Bulimia Nervosa are two psychological eating disorders that occur primarily in females; however, we're now seeing a number of males that are also affected.

  What are some key terms in health information technology

What are some key terms in health information technology? List and define two. What organizations safeguard health policies? List at least two organizations and a policy they safeguard. Provide a brief description of the U.S. Food Drug Administration..

  Exposure to bright light causes the

Exposure to bright light causes the

  Why is wrongdoing due to ignorance for socrates

What is a necessary condition for your happiness? What is a sufficient condition for your happiness? Why is wrongdoing due to ignorance for Socrates?

  Which characteristics of an effective helper did the social

read the real life human services work section in ch. 5 of human services in contemporary america. discuss the reading.

  Criminological theory and statistics

Criminological Theory and Statistics

  Participant in a psychological study be an ethical issue

It is common for participants to be compensated for their participation. This compensation is a bit of an incentive and can help offset travel costs to and from the laboratory. Some studies offer more than the average to get participants to volunteer..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd