Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

problem 1: Consider the following frequency counts of some item sets in a transaction database r:
 
freq({A}, r) = 0.405
freq({B}, r) = 0.510
freq({C}, r) = 0.303
freq({A,B}, r) = 0.380
freq({A,C}, r) = 0.256
freq({B,C}, r) = 0.197
freq({A,B,C}, r) = 0.095
 
Based on this information, you can use them to compute the following probabilities. (ex: P(X) = freq(X, r)).
 
a) What is the joint probability P(A and B)? What is P(A) ? P(B)? 
 
b) What are the confidence and  lift ratio of the association rules generated from the following itemsets: {A, B, C} and {A‾, B}?
 
c) Compare the results of a) and b) with  the frequencies  freq({A}, r) and freq({B}, r). What observations can you made about the relationship of A and B in terms of independence and possible causal relationship? Please describe your answer.
 
problem 2: Your friend owns a computer store in Yuen Long, selling Desktop and Notebook PCs and other computer peripherals. Having been instead successful with his business there, he decided to venture to the infamous Mongkok Computer Center and has already been there for three months. As expected, compared to his Yuen Long store, his new store has been recording much larger revenue however when it comes to profit, he is not so sure. He requires to pay some times more in rent! In order to stimulate sales, your friend feels that he requires to understand his customers in Mongkok more. To help him do so, you have asked for a sample of the transactional data he collected and they are shown in table below.

1851_transaction data.jpg

a) Set the Minimum Support to 18% and Minimum Confidence to 80%, find all frequent  large  itemsets  (for product items)  and all interesting rules using the Apriori algorithm.

b) By setting the Lift Ratio to 2, which rules you discovered  in Part (a) are still interesting?

c) How many possible association rules (even though both the support and confidence are 0) would be generated from the following itemsets: {Case, Desktop, Maintenance,  Mouse, Speaker, Webcam} and {Computer, Printer, Peripherals, Notebook_PC}.  Compare the results, what you can conclude?
 
problem 3: You are working for the ABC Telecom and are given some customer records for data mining. You are asked to discover, from the data, patterns that characterize low-, medium- and high-usage customers. He would like to make sure that newly recruited salespersons be able to recommend the right service plans (500-free-mins (low-usage), 2500-free-mins  (medium-usage), and 5000-free-mins  (high-usage)) to the right customers. 
 
a) Show how you can make use of the ID3 algorithm to discover in a sample of customer records (shown in Table below) what best  plan to make to which kind of customers.

1837_training data set.jpg

b) You are given a testing data set (shown in Table above) as follows, how much should you trust the recommendations made according to the rules discovered by ID3 algorithm?
 
c) Use the Naïve Bayesian Approach to check the recommendations against the testing data set. How many recommendation(s) is/are trustful?
 
d) Given a choice between the  Naïve  Bayesian Approach  and the  ID3 algorithm for this task, which one would you choose? Why?

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M91845

Have any Question? 


Related Questions in DBMS

Create a database to keep inventory of something you own

Create a database to keep inventory of something you own, such as books, CDs, movies, collectibles, etc. You can make these up if you want. (You could use this in real life to keep track of what other people have borrowe ...

At this point you decide to implement a hash structure for

At this point, you decide to implement a Hash structure for the contributor data to prepare for searches. You will read the contributor information from a file provided; it is a comma delimited (CSV) file. As each record ...

Organizations want information organizations need

Organizations want information. Organizations need information. However, information must be in an organized format that supports the creation of business intelligence. Otherwise, according to Rebecca Wettemann, vice pre ...

Relational databases theory and practice assignmentanswer

Relational databases: theory and practice Assignment ANSWER ALL QUESTIONS Question 1 - Use the block notes to answer the following questions: i. Explain what is meant by the process of denormalization and how it is done. ...

The discussion questionbased on your research and readings

The discussion question Based on your research and readings for the week, respond to the following discussion topics. • Often, systems have only one level of security when it comes to databases. Imagine that someone is t ...

Create a data definition class to model one product sold at

Create a data definition class to model one product sold at a bakery. The product will have a description, cost, and quantity in stock. Instance methods include: accessors for each instance variable, non-validating mutat ...

Taskoverview of business casealive amp boating aampb is a

Task Overview of business case: Alive & Boating (A&B) is a small start-up company that sells small boats in Wagga. A&B keeps its models in several showrooms across the city. At this stage customers cannot view the availa ...

Benefits of data protection controlsbased on what you have

Benefits of Data Protection Controls Based on what you have learned about data protection in an online environment, prepare a 5-slide presentation to a department head or the CEO of a company to convince the audience tha ...

Database design discusion 150 wordsnormalizationplease

Database Design Discusion (150 words) Normalization Please respond to BOTH of the following questions: Question A In your own words discuss the benefits of normalization. Question B Do you think we should normalize our d ...

Homeworkgiven the relations below answer the following

HOMEWORK Given the relations below, answer the following queries using SQL. Note that the tables contain sample records only and do not represent all the possible records that could be stored in these tables. MEMB ERS ME ...

  • 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

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro