Naive Bayes Assignment

Big Data

Lab Assignment 2

Dead Line :- 29th March 2020

[Total :- 10 Marks]

Important Notes :-

· After Each Program insert the screen shot (output).

· Make sure there is no copy with other students otherwise marks will be zero of both students.

· If any student not following the above things then marks will be deducted.

· If any student will try to submit after the Deadline(29th March 2020) not

· Question 1 :- Solve By hand

· Question 2:- Using R code

· Question 3:- Solve By hand and Write a R code

image1.jpg

Question 1 :- [4 Marks]

1. Given the transaction data shown in the Table below from a fast food restaurant. There are 9 distinct transactions (order:1 – order:9) and each transaction involves between 2 and 4 meal items. There are a total of 5 meal items that are involved in the transactions. For simplicity we assign the meal items short names (M1 – M5) rather than the full descriptive names

 

For all of the parts below the minimum support is 2/9 (.222) and the minimum confidence is 7/9 (.777). Note that you only need to achieve this level, not exceed it. Show your work for full credit (this mainly applies to part a).

a)

Apply the Apriori algorithm to the dataset of transactions and identify all frequent k-itemsets. Show all of your work. You must show candidates but can cross them off to show the ones that pass the minimum support threshold. This question is a bit longer than the homework questions due to the number of transactions and items, so proceed carefully and neatly.

Question 2:- Write a Code in R Language [3 Marks]

Consider dataset “Groceries” and apply apriori algorithm on it. What are the first 5 rules generated when the min support is 0.001 (0.1%) and min confidence is 0.9 (90%) .

Question 3 :- [ 3 Marks]

Suppose you have a database on four customers. You know their income and whether or not they bought your product. Create a data frame with this data.

You should calculate the probabilities by hand and also using R code.

Buy Income

Yes High

No High

No Medium

Yes Low

a) Using Bayes rule calculate the probability that a customer will buy your product given that he or she has high income.

b) Estimate naive Bayes model using your data above. What is the prior probability of someone buying your product? What is the probability that a customer has a high income give that he or she bought your product?

c) Using the model you estimated above predict the probability of buying given that a customer has high income. Is your result the same as the one you calculated by hand in question 1?

SFTY 320 Human Factors In Aviation Safety (Embry Riddle)

Design Considerations Now and in the Future

Refer to the module readings and this article retrieved from the Hunt Library, Towards Virtual Ergonomics: Aviation and Aerospace (Links to an external site.). You can choose between the text or PDF file.

· Submit a two-page paper (not including cover and reference pages) on applying ergonomics and the human factors concepts and considerations in engineering and design, with the human in mind in the aviation and aerospace industry. Apply APA formatting.

· Determine what issues in engineering and design problems exist today.

· Review what is meant by “systems thinking, design thinking, humanistic thinking, and scientific thinking”; provide examples on how this thinking could improve human performance and aviation safety.

· Explore automation and its impact on human performance.

· Finally, identify new technology being used in design efficiency and human performance in all aspects of the aviation industry.

Your paper will automatically be evaluated through Turnitin when you submit your assignment in this activity. Turnitin is a service that checks your work for improper citation or potential plagiarism by comparing it against a database of web pages, student papers, and articles from academic books and publications. Ensure that your work is entirely your own and that you have not plagiarized any material!

Save your assignment using a naming convention that includes your first and last name and the activity number. Do not add punctuation or special characters.

Rubric

SFTY 320 8.2 Writing Assignments Rubric V2

SFTY 320 8.2 Writing Assignments Rubric V2
Criteria Ratings Pts
This criterion is linked to a Learning OutcomeOrganization and Context

Should provide an effective and concise overview/introduction; develops a coherent, central theme that is expressed in a structured, organized, and logical manner.

20.0 pts

Exceeds Standards

17.0 pts

Meets Standards

14.0 pts

Does Not Meet Standards

 

20.0 pts
This criterion is linked to a Learning OutcomeKnowledge and Comprehension

Should address given assignment requirements; there should be evidence from course content and from valid, external sources should be used.

30.0 pts

Exceeds Standards

17.0 pts

Meets Standards

14.0 pts

Does Not Meet Standards

 

30.0 pts
This criterion is linked to a Learning OutcomeAnalysis, Evaluation, and Application

Should identify and analyze issues and relationships between factors with examples; supports argument based upon solid body of evidence; should apply to real-life situations and defined, if required.

30.0 pts

Exceeds Standards

17.0 pts

Meets Standards

14.0 pts

Does Not Meet Standards

 

30.0 pts
This criterion is linked to a Learning OutcomeStyle and Mechanics

Mechanics of style should enhance content understanding, and writing skillfully supports the message and is in required format. Citations and references present and IAW APA.

20.0 pts

Exceeds Standards

19.0 pts

Meets Standards

14.0 pts

Does Not Meet Standards

 

20.0 pts
Total Points: 100.0

Previous Next

Cardiovascular System Lab And Quiz

Resource: Cardiovascular System Lab

Complete the Cardiovascular System Lab located on the student website.

Complete the open-book quiz about the cardiovascular system and associated diseases. The quiz will be provided by your instructor.

 

University of Phoenix Material

 

Cardiovascular System Lab – Week Six

Introduction

The cardiovascular system consists of blood, blood vessels, and the heart. As you learn about the various diseases that affect the cardiovascular system, it is important for you to understand the structures that can be affected by disease. Complete this lab to become familiar with a healthy system and to identify diseases related to this system.

PART ONE: basic functions

Provide brief answers to the following questions to help you get acquainted with the basic functions of a healthy cardiovascular system. Refer to Ch. 23 in Microbiology: Principles and Explorations.

 

1.     What are the main functions of the cardiovascular system?

2.     Which types of bacteria are considered normal cardiovascular system microflora?

3.     Which structure of the cardiovascular system is particularly susceptible to bacterial infection?

PART two: basic structures

Refer to Ch. 23 in Microbiology: Principles and Explorations to help you identify the selected cardiovascular system structures in the following diagram.

 

 

 

Visit Chapter 23 of Microbiology: Principles and Explorations in WileyPlusto view an in-depth presentation of a healthy cardiovascular system by completing the following steps:

 

·      Select the Chapter 23 WileyPlus reading link located on your student Web page.

·      Locate the heading Chapter Review.

·      Select the Anatomy Overview: The Cardiovascular System link.

·      Complete this lab as you explore the Cardiovascular System multimedia piece.

 

Cardiovascular System: The Heart

 

Roll over each component of the Cardiovascular System multimedia piece. Roll over and click the heart. Refer to the Heartcomponent of the multimedia piece and Ch. 23 in Microbiology: Principles and Explorations to label the structures in the following diagrams of a healthy cardiovascular system.

 

 

 

PART three: investigate and apply

Select one of the following diseases related to the cardiovascular system, discussed in Ch. 23 of Microbiology: Principles and Explorations:

 

·         Rheumatic fever

·         Bacterial endocarditis

 

Describe the causal agent of the selected disease, mode of transmission, disease characteristics, and the component(s) of the cardiovascular system that are damaged by the disease.

 

[Type your response below]

 

 

©2008 University of Phoenix. All rights reserved.

 

SCI250 Week 6 Chapter 23 Cardiovascular System Quiz –Please underline, highlight and select the most appropriate answer. 10 pts each.


Section: Multiple Choice

 

1.     The normal microflora of the heart includes species of ________

  • Gram-positive bacteria.
  • Gram-negative bacteria.
  • fungi.
  • viruses.
  • None of the above

2.     Which of the following is least likely to cause Septicemia leading to endotoxin-induced shock?

  • Staphylococcus aureus
  • Pseudomonas aeruginosa
  • Klebsiella
  • Proteus
  • Serratia

3.     Reddened streaks extending up a limb to the trunk would indicate the presence of ________

  • bacteremia.
  • edema.
  • lymphangitis.
  • Lyme disease.
  • septicemia.

4.     Rheumatic fever caused by Streptococcus pyogenes most likely results from ________

  • the invasion of heart cells by bacteria.
  • the growth of bacteria on heart cells without invasion.
  • a reaction between heart antigens and antibodies against bacteria.
  • viral infections of the heart muscle.
  • a toxin produced by bacteria.

5.     What causes puerperal fever?

  • Streptococcus pyogenes
  • Staphylococcus aureus
  • Pseudomonas aeruginosa
  • Yersinia pestis
  • None of the above

6.     Characteristics of  endocarditis include

  • Diagnosed by positive blood culture.
  • Organisms are transported from an infectious foci to the heart.
  • Inflammation of the lining and valves of heart.
  • Can be caused by bacteria, fungi and or viruses
  • All of the above

7.     Most causes of myocarditis and  or pericarditis are caused by:

  • Staphylococcus aureus
  • Pseudomonas  aeruginosa
  • Enteroviruses
  • Antibiotics
  • Streptococcus pyogenes

8.     Which of the following statements is true of concerning the cardiovascular system?

  • It is it an open system that provides oxygen and nutrients to all cells of the body.
  • Normal flora include Corynebacterium diphtheria and Staphylococcus epidermidis
  • It includes the blood, vessels and the heart muscle
  • It is frequently invaded by microorganisms
  • None of the above

9.     Which of these best identify Blood chemistry?

  • 90% water
  • Contains formed elements (red blood cells, white blood cells, platelets)
  • Contain proteins and antibodies.
  • Contains electrolytes.
  • All of the above

10.   Chlamydia species have been associated with_

  • Atherosclerosis and coronary heart disease
  • Marek’s Disease.
  • Endocarditis
  • Myocarditis
  • Pericarditis

 

 

 

Top of Form

[removed]

Bottom of Form

 

 

SCI 250 MICROBIOLOGY Solution Links, Click the Following link to BUY

SCI 250 Week 1 Cell Division Template

http://www.homeworkmarket.com/content/sci-250-week-1-cell-division-template

 

SCI 250 Week 1 Staining Lab and Quiz

http://www.homeworkmarket.com/content/sci-250-week-1-staining-lab-and-quiz

 

SCI 250 Week 1 Identifying Bacteria

http://www.homeworkmarket.com/content/sci-250-week-1-identifying-bacteria

 

SCI 250 Week 2 Parasitology Matrix

http://www.homeworkmarket.com/content/sci-250-week-2-parasitology-matrix

 

SCI 250 Week 2 Epidemiology Presentation

http://www.homeworkmarket.com/content/sci-250-week-2-epidemiology-presentation

 

SCI 250 Week 3 Virus Matrix

http://www.homeworkmarket.com/content/sci-250-week-3-virus-matrix

 

SCI 250 Week 3 Team Summary-Microbial Resistance Debate

http://www.homeworkmarket.com/content/sci-250-week-3-team-summary-microbial-resistance-debate

 

SCI 250 Week 4 Innate Defenses Matrix

http://www.homeworkmarket.com/content/sci-250-week-4-innate-defenses-matrix

 

SCI 250 Week 4 Immunity Activity

http://www.homeworkmarket.com/content/sci-250-week-4-immunity-activity

 

SCI 250 Week 4 Learning Team-Allergens-The Good and the Bad

http://www.homeworkmarket.com/content/sci-250-week-4-learning-team-allergens-good-and-bad

 

SCI 250 Week 5 Integumentary System Lab and Quiz

http://www.homeworkmarket.com/content/sci-250-week-5-integumentary-system-lab-and-quiz

 

SCI 250 Week 5 STD Informational Pamphlet – Appendix G

http://www.homeworkmarket.com/content/sci-250-week-5-std-informational-pamphlet-–-appendix-g

 

SCI 250 Week 5 Learning Team Activity-Smallpox-To Eradicate or Not to Eradicate

http://www.homeworkmarket.com/content/sci-250-week-5-learning-team-activity-smallpox-eradicate-or-not-eradicate

 

SCI 250 Week 6 Respiratory System Lab and Quiz

http://www.homeworkmarket.com/content/sci-250-week-6-respiratory-system-lab-and-quiz

 

SCI 250 Week 6 Cardiovascular System Lab and Quiz

http://www.homeworkmarket.com/content/sci-250-week-6-cardiovascular-system-lab-and-quiz

 

SCI 250 Week 6 Cardiovascular and Respiratory Systems in Health and Infections

http://www.homeworkmarket.com/content/sci-250-week-6-cardiovascular-and-respiratory-systems-health-and-infections

 

SCI 250 Week 7 Nervous System Lab and Quiz

http://www.homeworkmarket.com/content/sci-250-week-7-nervous-system-lab-and-quiz

 

SCI 250 Week 7 Learning Team Activity-vCJD vs CJD

http://www.homeworkmarket.com/content/sci-250-week-7-learning-team-activity-vcjd-vs-cjd

 

SCI 250 Week 7 Final Exam

http://www.homeworkmarket.com/content/sci-250-week-7-final-exam

Discussion: Political, Social, and Sociocultural Influences on Women’s Health

Discussion: Political, Social, and Sociocultural Influences on Women’s Health

As an advanced practice nurse, you must remain current on health issues that commonly impact women such as birth control, abortion, family planning, the human papillomavirus (HPV) vaccine, and human immunodeficiency virus (HIV). Many of these women’s health issues are heavily influenced by political, social, and sociocultural factors. These influences might not only affect a woman’s ability or desire to receive care, but also a provider’s ability or willingness to offer care. How might political, social, and sociocultural factors influence your personal perceptions of these women’s health issues?

To prepare:

·        Review this week’s media presentation, as well as Chapter 1 of the Schuiling and Likis text.

·        Select and research one of the following women’s health issues: birth control, abortion, family planning, human papillomavirus (HPV) vaccine, human immunodeficiency virus (HIV) in women, or another issue approved by the course Instructor.

·        Consider the impact of political, social, and sociocultural factors on the women’s health issue you selected.

·        Reflect on how the personal perceptions of providers might influence their ability or willingness to care for women in relation to this issue.

 

 

 

 

Post at least 250 words APA format (no introduction or conclusion)

1.     pick on subject from above

2.     explain the political impact of this women’s health issue,

3.     social factors of this women’s health issue

4.     sociocultural factors on this women’s health issue

5.     Explain how personal perceptions of providers might influence their ability or willingness to care for women in relation to this issue.

 

 

 

Resource

 

Schuiling, K. D., & Likis, F. E. (2013). Women’s gynecologic health (2nd ed.). Burlington, MA: Jones and Bartlett Publishers