Ask Question, Ask an Expert


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

1 draw and explain erm diagram andnbsp explain what is

1. Draw and explain ERM diagram and  explain what is REM 2. Explain what is Normalization . what is 0NF,1NF, 2NFand ,3NF and explain what is in the tables Entity Relationship Modeling and Normalization: 1 System Analysis ...

Problem 1 please create a plsql procedure to print out the

Problem 1: Please create a PL/SQL procedure to print out the reservation ID, checkin date, and checkout date of reservations made by a guest. The input parameters is the name of the guest. There is no output parameter. P ...

Dfd1 draw a context diagram for the fiat for football

DFD 1. Draw a Context Diagram for the FIAT for Football process. 2. Draw a top level Data Flow Diagram for the FIAT for Football method. 3. Blow up any one non-trivial process into a first level Data Flow Diagram.

Database in-class assignment normalizationfor the following

Database In-class Assignment Normalization For the following table, list the functional dependencies and create a database from the table that is in BCNF and 4NF. Movie Rating Showtime Theater The SpongeBob Movie PG 4:00 ...

Discussionatleast 1 paragraph for each partpart 1 remote

Discussion Atleast 1 paragraph for each part Part 1: "Remote Access" Please respond to the following: • Remote access to corporate resources is becoming commonplace. From an auditing perspective, suggest two or more cont ...

Assignment advanced relational databaseproject- advance

Assignment: Advanced Relational Database PROJECT- Advance SQL Overview: Using the knowledge garnered thus far, please solve all of the below problems. Please run the attached SQL script file at the SQL*PLUS prompt. This ...

Assignment business rules and data modelssuppose a local

Assignment: Business Rules and Data Models Suppose a local college has tasked you to develop a database that will keep track of students and the courses that they have taken. In addition to tracking the students and cour ...

Database designfrom textbook fundamentals of database

Database Design From Textbook: Fundamentals of Database Management Systems 2nd Edition. 1. Convert the Video Centers of Europe, Ltd., entity-relationship diagram in Exercise 2.2 into a well structured relational database ...

Some people used to believe that data warehouses would

Some people used to believe that data warehouses would quickly replace databases for both online transaction processing (OLTP) and online analytical processing (OLAP). Of course, they were wrong. Why can data warehouses ...

Advanced relational database final programming project in

Advanced Relational Database Final Programming Project In this project, you will design a secure database with several tables using good relational database design techniques. Project Objectives: After completing this Pr ...

  • 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