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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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