Pruning Ratio of the Apriori Algorithm
Order ID 53563633773 Type Essay Writer Level Masters Style APA Sources/References 4 Perfect Number of Pages to Order 5-10 Pages Description/Paper Instructions
Pruning Ratio of the Apriori Algorithm
Chapter 5 Problems
Use the following table to answer questions 1 and 2.
1a. Identify a rule that has reasonably high support, but low confidence. Only state the rule; nothing more.
1b. Identify a rule that has low support and high confidence. Only state the rule; nothing more.
1c. Identify a rule that has high support and high confidence. Only state the rule; nothing more.
1d. Identify a rule that has low support and low confidence. Only state the rule; nothing more.
2a. By treating each transaction ID as a market basket, compute the support for each of the following itemsets:
s({e}) =
s({b,d}) =
s({b, d, e}) =
2b. Compute the confidence for the following association rules:
c(b,d e) =
c(e b,d) =
2c. By treating each Customer ID as a market basket and treating each item as a binary variable where appearance of an item = 1 in which the customer bought the item (and a 0 otherwise), compute the support for each of the following itemsets:
s({e}) =
s({b,d}) =
s({b, d, e}) =
2d. Use your results in 2c to the confidence for the following association rules:
c(b,d e) =
c(e b,d) =
Use the following market basket transactions to answer items in question 3.
3a. What is the maximum number of association rules that can be extracted from this data?
note: be sure to show your calculations
- The following market basket transactions were used to create the itemset lattice that is next to the market basket. A candidate is discarded if any one of its subsets is found to be infrequent during the candidate pruning step. Support the Apriori algorithm is applied to the data set with minsup = 30%, any itemset occurring in less than 3 transactions is considered to be infrequent.
(a)
Complete the grid below in order to label each node in the lattice with the following letters:
Note: Begin by entering every itemset from the lattice into the table below. You may need to expand the grid in order to accommodate all of your responses.
N:
If the itemset is not considered to be a candidate itemset y the Apriori algorithm. Two reasons for an itemset not to be considered as a candidate itemset: a) it is not generated at all during the candidate generation step, or b) it is generated during the candidate generation step but is subsequently removed during the candidate pruning step because one of its subsets is found to be infrequent.
F:
If the candidate itemset is found to be frequent by the Apriori algorithm.
I: If the candidate itemset is found to be infrequent after support counting.
Itemset Assigned letter (N, F, or I) (b)
What is the percentage of frequent itemsets (with respect do all itemsets in the lattice)?
Answer:
(c)
What is the pruning ratio of the Apriori algorithm on this data set? (Pruning ratio is defined as the percentage of itemsets not considered to be a candidate because (1) they are not generated during candidate generation or (2) they are pruned during the candidate pruning step.)
Answer:
Chapter 6 Problems
Use the following table to answer question #1.
1a. Using an Excel spreadsheet, create a binarized version of the data set with the following categories:
Note: the following are also the itemset names in the spreadsheet)
Sky Fair, Sky Stormy, Status Impaired, Status Sober, Violation None, Violation Speeding, Violation Stop, Violation Signal, Restraint = No, Restraint=Yes, Crash Major, Crash Minor
Paste the Excel spreadsheet into this document here.
1b. What is the maximum width of each transaction in the binarized data?
1c. How did you determine the answer for item 1b?
1d. Assuming that support threshold is 30%, how many candidate and frequent itemsets will be generated?
1e. Again using Excel, create a data set that contains only the following asymmetric binary attributes:
(Weather = Bad, Impaired, Traffic violation = Yes, Restraint = No, Crash Severity = Major).
The itemset headings are: Bad, Impaired, Violdation, NoRestraint, and Major
For Traffic violation, only None has a value of 0. The rest of the attribute values are assigned to 1.
Copy and paste the Excel spreadsheet here:
Assuming that support threshold is 30%, how many candidate and frequent itemsets will be generated?
1f. Compare the number of candidate and frequent itemsets generated in 1(d) and 1(e). What is your analysis?
- Find all the frequent subsequences with support >= 50% given the sequence shown below. Assume there are no timing constraints imposed on the sequence.
Answer:
- For each of the sequences w =< e1e2 . . . ei . . . ei+1 . . . elast > given below, determine whether they are subsequences of the sequence
< {1, 2, 3} {2, 4} {2, 4, 5} {3, 5} {6} >
subjected to the following timing constraints:
mingap = 0 (interval between last event in ei and first event in ei+1 is > 0)
maxgap = 3 (interval between first event in ei and last event in ei+1 is ≤ 3)
maxspan = 5 (interval between first event in e1 and last event in elast is ≤ 5)
ws = 1 (time between first and last events in ei is ≤ 1)
- w =< {1} {2} {3} >
Answer:
- w =< {1, 2, 3, 4} {5, 6} >
Answer:
Answer:
- w =< {1} {2, 4} {6} >
Answer:
- w =< {1, 2} {3, 4} {5, 6} >
Answer:
RUBRIC
QUALITY OF RESPONSE NO RESPONSE POOR / UNSATISFACTORY SATISFACTORY GOOD EXCELLENT Content (worth a maximum of 50% of the total points) Zero points: Student failed to submit the final paper. 20 points out of 50: The essay illustrates poor understanding of the relevant material by failing to address or incorrectly addressing the relevant content; failing to identify or inaccurately explaining/defining key concepts/ideas; ignoring or incorrectly explaining key points/claims and the reasoning behind them; and/or incorrectly or inappropriately using terminology; and elements of the response are lacking. 30 points out of 50: The essay illustrates a rudimentary understanding of the relevant material by mentioning but not full explaining the relevant content; identifying some of the key concepts/ideas though failing to fully or accurately explain many of them; using terminology, though sometimes inaccurately or inappropriately; and/or incorporating some key claims/points but failing to explain the reasoning behind them or doing so inaccurately. Elements of the required response may also be lacking. 40 points out of 50: The essay illustrates solid understanding of the relevant material by correctly addressing most of the relevant content; identifying and explaining most of the key concepts/ideas; using correct terminology; explaining the reasoning behind most of the key points/claims; and/or where necessary or useful, substantiating some points with accurate examples. The answer is complete. 50 points: The essay illustrates exemplary understanding of the relevant material by thoroughly and correctly addressing the relevant content; identifying and explaining all of the key concepts/ideas; using correct terminology explaining the reasoning behind key points/claims and substantiating, as necessary/useful, points with several accurate and illuminating examples. No aspects of the required answer are missing. Use of Sources (worth a maximum of 20% of the total points). Zero points: Student failed to include citations and/or references. Or the student failed to submit a final paper. 5 out 20 points: Sources are seldom cited to support statements and/or format of citations are not recognizable as APA 6th Edition format. There are major errors in the formation of the references and citations. And/or there is a major reliance on highly questionable. The Student fails to provide an adequate synthesis of research collected for the paper. 10 out 20 points: References to scholarly sources are occasionally given; many statements seem unsubstantiated. Frequent errors in APA 6th Edition format, leaving the reader confused about the source of the information. There are significant errors of the formation in the references and citations. And/or there is a significant use of highly questionable sources. 15 out 20 points: Credible Scholarly sources are used effectively support claims and are, for the most part, clear and fairly represented. APA 6th Edition is used with only a few minor errors. There are minor errors in reference and/or citations. And/or there is some use of questionable sources. 20 points: Credible scholarly sources are used to give compelling evidence to support claims and are clearly and fairly represented. APA 6th Edition format is used accurately and consistently. The student uses above the maximum required references in the development of the assignment. Grammar (worth maximum of 20% of total points) Zero points: Student failed to submit the final paper. 5 points out of 20: The paper does not communicate ideas/points clearly due to inappropriate use of terminology and vague language; thoughts and sentences are disjointed or incomprehensible; organization lacking; and/or numerous grammatical, spelling/punctuation errors 10 points out 20: The paper is often unclear and difficult to follow due to some inappropriate terminology and/or vague language; ideas may be fragmented, wandering and/or repetitive; poor organization; and/or some grammatical, spelling, punctuation errors 15 points out of 20: The paper is mostly clear as a result of appropriate use of terminology and minimal vagueness; no tangents and no repetition; fairly good organization; almost perfect grammar, spelling, punctuation, and word usage. 20 points: The paper is clear, concise, and a pleasure to read as a result of appropriate and precise use of terminology; total coherence of thoughts and presentation and logical organization; and the essay is error free. Structure of the Paper (worth 10% of total points) Zero points: Student failed to submit the final paper. 3 points out of 10: Student needs to develop better formatting skills. The paper omits significant structural elements required for and APA 6th edition paper. Formatting of the paper has major flaws. The paper does not conform to APA 6th edition requirements whatsoever. 5 points out of 10: Appearance of final paper demonstrates the student’s limited ability to format the paper. There are significant errors in formatting and/or the total omission of major components of an APA 6th edition paper. They can include the omission of the cover page, abstract, and page numbers. Additionally the page has major formatting issues with spacing or paragraph formation. Font size might not conform to size requirements. The student also significantly writes too large or too short of and paper 7 points out of 10: Research paper presents an above-average use of formatting skills. The paper has slight errors within the paper. This can include small errors or omissions with the cover page, abstract, page number, and headers. There could be also slight formatting issues with the document spacing or the font Additionally the paper might slightly exceed or undershoot the specific number of required written pages for the assignment. 10 points: Student provides a high-caliber, formatted paper. This includes an APA 6th edition cover page, abstract, page number, headers and is double spaced in 12’ Times Roman Font. Additionally, the paper conforms to the specific number of required written pages and neither goes over or under the specified length of the paper. GET THIS PROJECT NOW BY CLICKING ON THIS LINK TO PLACE THE ORDER
CLICK ON THE LINK HERE: https://www.perfectacademic.com/orders/ordernow
Also, you can place the order at www.collegepaper.us/orders/ordernow / www.phdwriters.us/orders/ordernow
Do You Have Any Other Essay/Assignment/Class Project/Homework Related to this? Click Here Now [CLICK ME]and Have It Done by Our PhD Qualified Writers!!