Assignment artificial intelligence

Assignment Help Management Theories
Reference no: EM13968120

Assignment: Artificial Intelligence

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: EM13968120

Questions Cloud

This phase is for the coding part of the project : This phase is for the coding part of the project and concerns with the implementation of a time-series prediction method that you either take from the literature or you have developed by yourself as the result of your research in the first phase.
Global warming is the increase in the average temperature : Global warming is the increase in the average temperature of Earth's lower atmosphere over the past several years. A primary focal point is determining what is causing the temperature increase.
Consider progress, barriers in relation to sd in a business : "Consider progress and barriers in relation to SD in a business or industry sector that you know well. What have been the catalysts for change and the obstacles to integration of SD in policy and performance?"
Using staff surveys to determine the safety awareness : Staff surveys are used to provide man agent of a snapshot of the safety culture within an airline at the ground level.the staff surveys have been conducted several years apart and are to be compared. In the paper please ,
Assignment artificial intelligence : 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:
Create the trial balance in the normal structure : Using EXCEL, create the trial balance in the normal structure (current assets, long term assets, current liabilities, etc.). Also, include in the workbook a Cost of Goods Manufactured Statement, an Income Statement, a Retained Earnings Statement, and..
Spring will always in compression how : In case of wilson hartnell governor there two main springs and there are one auxiliary spring. And nature of springs are tension always how it can possible? When sleeve will move downward than i will compress but most of the book is explaining spring..
Prepare a presentation on training on diversity trends : Prepare a seven to nine slide Microsoft PowerPoint presentation on this topic. Include a discussion of the Diversity Trends and Population trends
Linear-time algorithm to build a binary heap : 1. Can both insert and find Min be implemented in constant time? 2. a. Show the result of inserting 10, 12, 1, 14, 6, 5, 8, 15, 3, 9, 7, 4, 11, 13, and 2, one at a time, into an initially empty binary heap. b. Show the result of using the linear-ti..

Reviews

Write a Review

Management Theories Questions & Answers

  Institutional theory serves as grounding for further conside

Institutional theory serves as grounding for further considerations regarding the nature of processes and structures within organizations. Premised on the notion that structures in institutions acquire permanence through social processes, it is relat..

  What is persuasive

Can you distinguish between powerful interpretations versus idle speculation or mischief-making. Quite often leadership can be persuaded by a wrong interpretation, so why is that? How do we figure out what is persuasive and what is not?

  Design a single sampling plan with the following parameters

design a single sampling plan with the following parameters. producers risk a .05 consumers risk szlig .10 acceptable

  The o''neill shoe manufacturing company will produce

The O'Neill Shoe Manufacturing Company will produce a special-style shoe if the order size is large enough to provide a reasonable profit. For each special-style order, the company incurs a fixed cost of $1000 for the production setup. The variable c..

  The disposal of hazardous waste generated by the daily runn

GeneralHospital(GH)is looking to identify a suitable supplier for the disposal of hazardous waste generated by the daily running of the facility for the next 12 months.

  Prepare a swot analysis

Identify any organization with which you are familiar and provide a SWOT analysis.

  Analysis of coca-cola

Please read my earlier comment on critiquing the BCG. The BCG is a given component; the critique must be between your chosen matrix and another learner's chosen different matrix.Read one of the learner’s post and critique their choice of matrix( diff..

  A salesperson at a high-end jewelry store

A salesperson at a high-end jewelry store

  The advantages and consequences of group cohesiveness

Explain in detail some of the advantages and consequences of group cohesiveness

  Cause productivity figures to be misleading.

An international company has two manufacturing plants: one in the home country and one in another country. Both produce the same item, each for sale in their respective countries. However, their productivity figures are quite different. One analyst t..

  Would workers in australia

Would workers in Australia, America or Europe accept the Taylorism in this form today?

  Effectively to enhance effective learning

Technology and social media (LMS, LinkedIn, Twitter, etc.) are constantly changing, and it can be difficult for organizations to keep up and effectively use technology as a training tool. Choose one new piece of technology (within the last five years..

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