Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Apriori algorithm example in r

01/12/2021 Client: muhammad11 Deadline: 2 Day

Deliverables: Two Files: (1) Submit this report with answers to all questions including

output screenshots. (2) Submit an R script that contains all commands with comments that briefly describe each commands purpose.

Run an exercise on the credit approval dataset, completing this report and providing the commands, output screenshots, and discussion/interpretation as requested. Ensure that all commands are saved in this report and in an R script.

a. Introduction: Describe the expected output and behavior of the Apriori method and

what it will accomplish for the credit approval data. Use the knowledge gained

through the tutorial and lectures. Provide a one-paragraph, masters level

response. (80-120 words)

Answer:

b. Data Pre-Processing: Load the credit approval data into R Studio using the read.csv

command.

i. What data pre-processing does the Apriori method require for the credit

approval data? Include the commands you ran and the output screenshots.

Command: >

Output:

c. Apriori Method – Default Parameters:

i. Run the Apriori method with the default parameters and store the generated

rules in a variable called ‘rules’. Include the command, the output

screenshot, and provide a one-paragraph, masters-level discussion of the

returned rules and the default arguments. (8-120 words)

Command: >

Output:

Discussion:

ii. Run the inspect command to display the first 10 rules. Include the command,

the output screenshot, and interpretation of the returned rules and metrics.

Command: >

Output:

Interpretation:

d. Apriori Method – Two Runs with Non-Default Parameters using different

combinations of confidence, support, and minimum length values. For each run,

specify the input parameters used (include the command, output screenshot, and

discuss the rules returned) and then run the inspect command to preview the first 10

rules (include the command, output screenshot, and discuss which of the returned

rules is the strongest and why):

i. 1st Non-Default Parameter Run:

Command: >

Output:

Discussion:

Inspect Command: >

Output:

Discussion:

ii. 2nd Non-Default Parameter Run:

Command: >

Output:

Discussion:

Inspect Command: >

Output:

Discussion:

iii. How does changing the confidence, support, and minimum length values

affect the returned rules? Provide a one-paragraph, masters-level response. (80-120 words)

Answer:

iv. What are the differences between the confidence, support, and lift metrics

for identifying the strongest rules? (80-120 words)

Answer:

e. Apriori Method – Include only rules that have class=’+’ or class=’-’ on the righthand

side. Store the output in the variable ‘rules’. (Hint: See the generating rules

for the specified item sets section of the week 3 tutorial. You may need to adjust the

confidence and support values). Include the command and output screenshot:

Command: >

Output:

i. Run the inspect command to preview the first 10 rules. Include the

command, output screenshot, a discussion identifying the strongest rules. (60-100 words)

Command: >

Output:

Discussion:

ii. What do the returned rules suggest about the credit approval decision? Even

though the attribute names are abstracted, provide a discussion about how

the rules with abstracted attribute names, the strongest rules, and any other

factors you wish to include positively or negatively impacted the credit

approval decision (i.e. class=’+’ and class=’-’). Provide a one-paragraph,

masters-level response. (80-120 words)

Answer:

f. Apriori Method – Prune the Returned Rules:

i. Why do we as data analysts prune the rules returned by the Apriori method? (80-120 words)

Answer:

ii. Run the following commands on the variable ‘rules’ (generated above) to find the redundant rules. Include the output screenshot from the

commands and provide a discussion about the rules that were removed.

> rules.sorted<-sort(rules, by = “lift”)

> inspect(rules.sorted)

> subset.matrix<-is.subset(rules.sorted, rules.sorted)

> subset.matrix[lower.tri(subset.matrix, diag=T)]<-NA

> redundant<-colSums(subset.matrix, na.rm=T)>=1

> which(redundant)

Output:

Discussion:

iii. Run the following commands to remove the redundant rules and display the

remaining rules. Include the commands, the output screenshot, and a

discussion on which rules remain.

> rules.pruned<-rules.sorted[!redundant]

> inspect(rules.pruned)

Output :

Discussion :

g. Rules Visualization – Choose any visualization method discussed in the tutorial to

visualize the pruned rules in the previous step. Provide the command, output

screenshot of the visualization, and a discussion about how effectively the plot

represents the rules and the metrics for ranking rules.

Command: >

Output:

Discussion:

i. Why do we consider more than one metric to identify the strongest rules?

Provide a one-paragraph, masters-level response. (80-120 words)

Answer:

ii. Which part of this exercise did you find the most challenging

and why? What approach did you take the resolve the challenge?

Answer:

iii. An example of page 13-14 of the week 3 tutorial shows how to

display additional rule interest measurements including leverage, conviction,

and coverage. What additional information do these metrics provide about

the rules and why would we consider them? Check this link out for more

information: Additional Metrics for Association Rules

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Write My Coursework
Coursework Assignment Help
Smart Homework Helper
Engineering Help
Professional Coursework Help
Top Class Engineers
Writer Writer Name Offer Chat
Write My Coursework

ONLINE

Write My Coursework

Being a Ph.D. in the Business field, I have been doing academic writing for the past 7 years and have a good command over writing research papers, essay, dissertations and all kinds of academic writing and proofreading.

$20 Chat With Writer
Coursework Assignment Help

ONLINE

Coursework Assignment Help

After reading your project details, I feel myself as the best option for you to fulfill this project with 100 percent perfection.

$19 Chat With Writer
Smart Homework Helper

ONLINE

Smart Homework Helper

I find your project quite stimulating and related to my profession. I can surely contribute you with your project.

$27 Chat With Writer
Engineering Help

ONLINE

Engineering Help

I find your project quite stimulating and related to my profession. I can surely contribute you with your project.

$25 Chat With Writer
Professional Coursework Help

ONLINE

Professional Coursework Help

I am a PhD writer with 10 years of experience. I will be delivering high-quality, plagiarism-free work to you in the minimum amount of time. Waiting for your message.

$21 Chat With Writer
Top Class Engineers

ONLINE

Top Class Engineers

I have worked on wide variety of research papers including; Analytical research paper, Argumentative research paper, Interpretative research, experimental research etc.

$45 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

The customer is always right 1993 - Residential valuation report sample - Bad case of stripes questions - 5.1 refusal skills part 2 - St vincent's southside birthing center - Possibility and statistics - Badminton racket string types - Income statements for burch company for 2018 and 2019 follow - Vcaa english language study design - Myleoonline - Phantom Wallet Extension - Informatics and nursing sewell pdf - Rmit late assignment submission penalty - Kaplan elearn - Dialogic theory of public speaking - Diazo coupling with aniline - Sinorama gold 8 deck plan - Nightly business report season 27 episode 155 - A leap into history reading answers - How can homework be harmful - Liebeck v mcdonald's case brief - Icrs cartilage grading system - Ds 10 - Ramesh babu barber net worth - How many red skittles in a bag - Country manager latin america simulation answers - Exp 105 week 3 discussion 1 - How to draw shear force diagram - Contingency Planning - Essay Guru ONLY - Appliance standards awareness project - Examples of programming language - Lighting Studio Assignment - Economic Assignment - 5910_ASS 6 # REwork - Ir receiver 1838 datasheet - Hex inverting schmitt trigger - The Role of the RN/APRN in Policy Evaluation - Draw place value disks to show the numbers - Tartine bread chad robertson pdf - Exp e capstone 1 european excursions 2.5 - Stocks with beta greater than 1 - Salmon rocks cape conran - Texas has a unicameral legislature - Macbeth act 3 discussion questions answers - Renault trafic wiring loom recall - The army colors cadence - Risk management dashboard examples - Olg winner's circle rewards login - Head loss due to pipe fittings lab report - Star wars ccg red 5 - Michael kors marketing strategy - Tattoos on the heart chapter 2 sparknotes - La trobe library online - Call of the wild reading guide answer key - Praxis source based essay sample - ETCM DISCUSSION-5 - Acceleration due to gravity experiment conclusion - 4.2 divided by 2 - Fundamentals of data communication and networking pdf - Grand strategy selection matrix - Spell mississippi in two letters - Bc547 max base current - Everyday series evangelism earley and wheeler - Project management - Write a paragraph for Project Description class of culture and natural resource - Dont be a bully song - Umbrella of tourism and hospitality industry - Apple's future case study solution - Positive interdependence and knowledge sharing - Ann thompson susan venables - The signal by vsevolod garshin - Chapel hill athlete nyt crossword - Iodine clock reaction lab report - Keyboard is an output device - Must Be completed TODAY by 9pmEST!!!!!!! - Curtin university report format - Stonepit field milton keynes - 12041 flatlands ave brooklyn ny 11207 - 1958 film by orson welles crossword - Ben stacy blue man - Crypto Security Architecture - Audio engineering society australia - Conflict theory gender inequality essay - A university teacher saved every email - Pre registration exam papers - Assignment - Does under armour have any core competencies - Which of the following statements is untrue regarding cold canvassing - The swan newbold verdon - Reflective journal-self appraisal 3 - Who sings budweiser puppy love song - Health care - Public administration interview questions - NUR 513 Week 6 quiz - English verb tenses table pdf - Wow the not so friendly skies - Wall street journal classroom edition chapter 8 article business organizations - Behavior trap definition - What is nco 2020