Statement that best describes bayesian reasoning

Assignment Help C/C++ Programming
Reference no: EM13975673

Consider the points/classes below and the perceptron algorithm taught in class.
Class 0:

x1 = (-2, 1)

x2 = (1,3)

Class 1:

x3 = (2,0)

X4 = (2,2)

(a) what is the equation of that separates the two classes

(b) graph this equation

Consider the same initial problem as described in (1) above BUT change the order the examples are presented to the perceptron to the follwoing order:

x1, x3, x2, x4

(a) what is the equation of that separates the two classes

(b) graph this equation

(c) give a single NEW point that causes the perceptron NOT TO CONVERGE and clearly show this point on the graph in (b) above

Consider the points/classes below and the perceptron algorithm taught in class.
Class 0:

x1 = (0 ,0,-4,1)

x2 = (2,3,-4,1)

x3 =(12,14,-4,1)

Class 1:

x4 = ( 0 ,5, 1, 2)

x5 = (2,3,5,1)

x6 = (12,14,5,1)

(a) what is the equation of that separates the two classes

4. Select the statement that best describes BAYESIAN reasoning that I emphasized in class: BAYESIAN REASONING

(a) works with 2 or more classes

(b) can accommodate missing or partial information

(c) runs much faster than a perceptron

(d) needs much fewer examples than the J48 algorithm

5. A person has swollen glands represented as symptom G. There are three possible diseases this person has - disease A, disease B , or disease C.

The relevant probabilities are given below:

p(A) = 0.35

p(B) = 0.35

p(C) = 0.30

the conditional probabilities are as follows:

P(G|A) = 0.015

P(G|B) = 0.010

p(G|C) = 0.020

What is the probability the patient has

(a) Disease A

(b) Disease B

6. Use the data in the exam folder entitled credit-g and Weka. Under the classifier, select BAYES and NAIVE BAYES with percentage split being 0.66 (i.e., 2/3). Run the naive bayes classifier:

(a) What is the recall?

(b) What is the precision?

(c) do the identical problem EXCEPT using the j.48 classifier with the same data and percentage split. What is the recall now?

(d) What is the precision?

The problems under 7 below are real. Don't expect all kinds of clean answers and obvious explanations. There may be missing data and techniques like ID3 may actually run out of attributes and NEVER create a single homogeneous classification. Be Careful. Here's how this will be graded: There is no "right" answer I am seeking. I don't have a 'key' for problem 1A and you either get my answer of you miss it. Rather, I am going to grade HOW you went about solving the problem and whether what you did is reasonable.

If you blindly go applying any technique without any type of analysis - that's reckless in real life as well as the final. Instead, you should perhaps spend some time thinking about the strengths and weaknesses of each technique and the problem domain itself before rushing off to implement. For example, what is the cost of missed detections? What about false alarms?

DO NOT USE ALL THE DATA TO TRAIN THE CLASSIFIER - instead use 2/3 to train and 1/3 for testing! Think in terms of training and test sets. DON'T just run your techniques on the entire dataset.

Instead, when it makes sense to you, divide your dataset into two pieces (not necessarily equal) and SEE FOR YOURSELF HOW YOU'RE PERFORMING. If you train on one set of data and then test on another - and you correctly classify the test set -> that indicates a high confidence in the result. It's hard to criticize that type of method.

Also think about the results? When are the results acceptable? When are the results possibly really misleading? If use use J48 - just submit your interpretation of the tree. We'll forgo implementation in CLIPS for another class. Otherwise - just use WEKA or your own perceptron code to create a classifier.

7. SELECT TWO PROBLEMS from the problems below (A,B,C, etc) to work on.

(A) Wine classification: use the WINE DATA in the link on the DATA FOLDER and attempt to classify wine origin based on its chemical properties.

(B) Here is a typical problem dealing with a real corporation and real people. The problem is credit approval. A Japanese company uses a complicated technique to approve credit and want to see if they can use some data mining technique to classify people as + (grant credit) or - (deny credit). So they turn over a portion of the database to you with all the attributes "coded" to protect anonymity. In other words, they may change something like the person's job title to "a", instead of "bank clerk". They're consistent in that all 'a's" are bank clerks but all that appears in the data for the 'occupation' attribute is "a", "b", etc. Worse, they won't even tell you WHAT the real attributes are. ALl you know is that + meant they approved, and - meant they denied. So your job is to see whether you can do to predict a + or - and how well you can do that. A solution to this problem is just going to be a technique and an estimate of how accurate it is. You won't be able to make much domain sense of your answer by saying something like "if occupation is bank clerk, then deny". SEE THE CREDIT SCREENING DATA in the data link given in the Data Folder under CREDIT APPROVAL.

(C) Assume a corporation needs to know the yearly income of a customer and does not want to annoy the customer by asking this question directly. Instead, the desire is to ask the consumer some "innocent" questions that can predict yearly income. The corporation gives you US Census data and asks you if this can be used to classify people as to whether they earn above or below $50,000 yearly. What are some questions that might be asked given this data? Data is found here under ADULT DATABASE in the data link in the DATA FOLDER: Assume your job is to come up with an automatic way to classify consumers if given the same data as appears in the data file. Justify and test your approach. What happened? How accurate were you?

(D) What can you tell me about the MUSHROOM DATA given in the data link in the DATA Folder. If you can build a classifier - do that. Do whatever you can with this data and tell me what you did and why. Justify your results and approach.

(E) Arrythmia is a heart ailment there is a database of people who either are normal or suffer from some type of arrhythmia given on the data link in the DATA FOLDER. Assume your job is to come up with an automatic way to classify patients if given the same data as appears in the data file. Justify and test your approach. What happened? How accurate were you?

(F) Select any data set from the provided data folder link and apply any technique you wish or a mix of techniques to see how they agree (e.g., J.48 and Bayes) Your choice - whatever interests you.

(G) Solve using any technique you wish but JUSTIFY your choice in a paragraph explaining why you selected that technique and how you tested the classifier!

Use the LUNG CANCER DATASET (Attribute 1 is the class variable). NOTE THAT THERE ARE MISSING VALUES IN THIS DATA!!!!

To receive credit you must present the classification results

Reference no: EM13975673

Questions Cloud

Definition of innovation style of the it organization : A short (reminder) description and background of the IT organization (Apple). The definition of their innovation style of the IT organization. An analysis and synthesis of the various innovation theories that link to their respective product or serv..
Create active directory policies to include features : Active Directory Design and Active Directory Implementation- This section will specify organizational Active Directory design, and develop and implement Active Directory as per organizational standards and policies
How to calculate the percent yield : My hypothesis is " as the amount of vinegar increases the amount of casein plastic produced increases as well. The question is, i know that the control variable is vinegar but how do i test the control group to compare results and how to calculate..
Describe the rationale underlying the general hypothesis : Briefly describe the rationale underlying the general hypothesis that the use of antibiotics selects for resistance in bacteria.
Statement that best describes bayesian reasoning : what is the equation of that separates the two classes - Select the statement that best describes BAYESIAN reasoning
Primary drivers that friedman says are flattening the world : What are the primary drivers that Friedman says are "flattening" the world? What constitutes the "Right Stuff" that Friedman believes will help individuals to do better in this increasingly "Flattened" world
Find the distance of the fourth leg and the angle : The finish line of the course coincides with the starting line. Using the data in the drawing, find the distance of the fourth leg and the angle θ.
Paper should contain an introductory paragraph : You may ONLY use articles from peer reviewed journals or books that have been written. You may not use popular magazines, newspaper articles, or websites as sources!
Risks of natural events mitigated through control : How are the risks of natural events mitigated through control measures of physical security? Why has business continuity been recognized as a fundamental component of management's role in achieving good corporate governance

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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