Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

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?

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M91643182
  • Price:- $45

Guranteed 36 Hours Delivery, In Price:- $45

Have any Question?


Related Questions in Homework Help/Study Tips

Taskpart a answer the following questions1 search the web

Task Part A: Answer the following questions: 1. Search the web for news on computer security breaches that occurred during April-August 2015-2018. Research one such reported incident. Prepare a report focusing on what th ...

Choose a podcast which is respectful and abides by saint

Choose a podcast, which is respectful and abides by Saint Leo University's Core Values. Listen to the podcast and write a paragraph summarizing the podcast. How do you know this podcast abides by the Core Values? Tell us ...

Unit testhome work electricity and electronicsin this home

Unit Test/Home Work : Electricity and Electronics In this Home Work (Unit Test) you will do the following. Write an essay on Multimeter.(300-500 words) In the essay you will include the following points (Or the list of p ...

Group report1 this group assignment consists of 2 parts

GROUP REPORT 1. This group assignment consists of 2 parts. Part A is a case study on contract law, and Part B is a question involving Corporations Law. Both questions must be answered. 2. The total word limit for the gro ...

A 2- 12 page paper that analyzes the role of the social

A 2- 1/2 page paper that analyzes the role of the social worker in helping to plan end-of-life care. Include possible consideration of palliative care, euthanasia, hospice care, the living will and advanced directives, a ...

Question explain the challenges new york is

Question : Explain the challenges New York is experiencing in funding universal pre-kindergarten. Describe at least three potential funding sources for Universal Pre-K described in the Citizens Budget Commission report. ...

The value of small-group theoriesin this assignment you

The Value of Small-Group Theories In this assignment, you will explore the dynamics of the small-group theory. You will learn the competing views of the small-group theory, understand the similarities and differences wit ...

These questions below should be answered within the paper

These questions below should be answered within the paper and needs to flow as a regular paper. Please don't break the paper up into answers for each question it should have a natural flow in paragraphs. What is your phi ...

Question complete the vark questionnaire how do i learn

Question: Complete "The VARK Questionnaire: How Do I Learn Best?" 1. Click "OK" to receive your questionnaire scores. 2. Once you have determined your preferred learning style, review the corresponding link to view your ...

Question in a 2-3 page overview describe the epidemiology

Question: In a 2-3 page overview describe the epidemiology, etiology, co-morbidity, means of assessment, of the bipolar disorder and possible nursing diagnosis. You must use accurate spelling and grammar and APA Editoria ...

  • 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