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

In general my report talks about the database management

In general, my report talks about the Database management system. But I want to a specific topics of it in 3 pages. The topics are: 1. Comparison between File approach and Database approach. 2. Advantages and disadvantag ...

Application creating and populating a databasesuppose you

Application: Creating and Populating a Database Suppose you have a small retail store and decide to create a database to track sales. You have information about recent sales that you want to use for testing the database. ...

Database design and use group assignmentassignment

Database Design and Use Group Assignment Assignment Description - In this assignment you will use your normalized "City Jail" database you have created in your assignment one. You will form a group (2-3 students) and imp ...

Upload your final project code and your presentation upload

Upload your final project code and your presentation. Upload all of your code in one large text file that has the .sql extension. Be sure to identify each section of code so that the reader will know what it does. All co ...

Overviewfor this assignment you will implement and query a

Overview For this assignment you will implement and query a database from a supplied ER Diagram and Schema. You will be required to write the SQL statements to create the database structures, to fill the database with da ...

Stored procedures and stored functions - major assessment

Stored Procedures and Stored Functions - Major Assessment Task Background You are to create tables to store product and customer data. You will create a number of stored procedures and functions (SPFs) to insert / update ...

Realtor database data redundancy and anomaliesbullconduct

Realtor Database: Data Redundancy and Anomalies • Conduct an in-depth examination and analysis of the database, Realtor.accdb. Apply the concepts of database systems that you have learned this week. For example, you may ...

Physical database design assignment query optimisationthis

Physical Database Design Assignment: Query Optimisation This assignment aims to develop your skills optimizing query. It involves identifying the suitable methods for structuring the data and writing the query. First, yo ...

Systems and database design assignment database design amp

Systems and Database Design Assignment: Database Design & Implementation (Airline) The assignment consists of two tasks. The first task, Database Design, requires a word processed document in PDF format detailing the des ...

1 what is the difference between database and data

1. What is the difference between database and data warehouse? 2. What is OLAP? 3. What is a data cube? How do DSS take advantage of the structure?

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate