Questions
The following training dataset is “reading email dataset”. This dataset has four features as follows: author,...

  1. The following training dataset is “reading email dataset”.

This dataset has four features as follows: author, thread, length, and where to read the mail. According to the features the algorithm has to predict the user’s action whether to read or skip the mail.

Use Naïve Bayes classifier to predict the user’s action (skips or reads) when the author of the mail is known, the thread of the mail is follow up, the length of the mail is short, and where to read the email is home.

Author

Thread

Length

Where to read

User’s Action

Known

new

long

home

Skips

unknown

new

short

work

Reads

unknown

Follow up

long

work

Skips

Known

Follow up

Long

Home

Skips

Known

New

Short

Home

Reads

Known

Follow up

Long

Work

Skips

Unknown

New

short

work

skips

Unknown

New

short

Work

reads

Known

Follow up

Long

Home

Skips

known

New

Long

Work

skips

unknown

Follow up

short

home

Skips

Known

new

Long

work

Skips

Known

Follow up

Short

Home

Reads

Known

New

Short

Work

Reads

known

New

short

Home

Reads

Known

Follow up

short

Work

Reads

Known

New

Short

home

Reads

unknown

new

short

work

Reads

  1. Write a Python code to implement a naïve Bayesian classifier to predict the user’s action (skips or reads) when the author of the mail is known, the thread of the mail is follow up, the length of the mail is short, and where to read the email is home. (Do not use Scikit-Learn)
  2. Use Scikit-Learn to predict the user’s action (skips or reads) when the author of the mail is known, the thread of the mail is follow up, the length of the mail is short, and where to read the email is home.

Hint in authors feature you can use 0, 1 instead of unknown and known. In thread feature you can use 0, 1 instead of follow up and new. In length feature you can use 0, 1 instead of short and long. In where to read feature you can use 0, 1 instead of home, work. In the target you can use 0 instead of skips and 1 instead of reads.

In: Computer Science

Hand washing techniques lab questions. In this laboratory activity, we are using a product containing tiny...

Hand washing techniques lab questions. In this laboratory activity, we are using a product containing tiny particles that fluoresce or glow under ultraviolet (UV) light. The product is called Glo Germ™. These particles stick to your skin; however, they can be washed away just like actual microbes. You will apply Glo Germ™ to your hands and then wash them. Afterward, you will perform a series of steps that simulate common laboratory procedures in which contamination could occur. When you touch objects while you have Glo Germ™ on your hand, the particles transfer to the object you are handling. You can track Glo Germ™ “contamination” using a small UV light source. This investigation demonstrates how easily contamination can occur and shows the proper ways to eliminate possible contamination.

Questions for Lab 11 Summary:  

  1. What is the name of the substance you are applying to your hands in this experiment?
  2. Why is an ultraviolet light required in this experiment?
  3. Where (beaker, lab apron/coat, pipette, tubes, rack, or work area) did you see the most “contamination spots” in this experiment, and why do you think that area got the most contamination?
  4. How would this experiment’s results be different if you used 70% ethanol in the beaker instead of water?
  5. Let’s say you added an additional treatment group where instead of washing your hands you applied a hand sanitizer during Step 2 – how would you expect the number of contaminated spots to look and why?

In: Biology

Item # 2 and 3       Author Lane   Chapter Ch 1   Page # 62    Question # 6...

Item # 2 and 3       Author Lane   Chapter Ch 1   Page # 62    Question # 6 and 7

6. Categorize the following variables as being qualitative or quantitative:

7. Specify the level of measurement used for the items in Question 6.

Answer:        Complete the chart

Variable

Classify

Qual or Quant

Level of Measurement

Nominal, Ordinal, Interval, Ratio

Age

Quant

Country you were born in

Qual

Favorite color

Qual

nominal

Time to respond to a question

Quant

Work:            Provide supporting comments for your answers

Age: Age can be measured

Country you were born in: There is no measurement for country of birth

Favorite color: No scale of measurement for color

Time to respond to a question: Time can be measured

Item # 4 thru 8 Author Illowsky   Chapter Ch 1   Page # 53 Question # 53, 54, 56, 58,

For the following exercises, identify the type of data that would be used to describe a response (quantitative discrete, quantitative continuous, or qualitative), and give an example of the data.

53. number of tickets sold to a concert

54. percent of body fat

56. time in line to buy groceries

58. most-watched television show

Answer:        Complete the chart

Variable

Classify

Qual or Quant

Classify

Discrete, Continuous, NA*

Number of tickets sold to a concert

Percent of body fat

Time in line to buy groceries

Most watched Television show

Age of executives in Fortune 500 companies

*          Na (not applicable)

Work:            Provide supporting comments for your answers

Number of tickets sold to a concert

Time in line to buy groceries

Most watched Television show

Item # 9 Author Illowsky   Chapter Ch 1   Page # 54 Question # 71

71. The instructor takes her sample by gathering data on five randomly selected students from each Lake Tahoe Community College math class. The type of sampling she used is

a. cluster sampling

b. stratified sampling

c. simple random sampling

d. convenience sampling

Answer:        The type of sampling used is:

Circle or highlight the correct answer

Cluster sampling

Stratified sampling

Simple random sampling

Convenience sampling

Work:            Provide supporting comments for your answers

Item # 10 Author Illowsky   Chapter Ch 1   Page # 54 Question # 73

73. Name the sampling method used in each of the following situations:

a. A woman in the airport is handing out questionnaires to travelers asking them to evaluate the airport’s service. She does not ask travelers who are hurrying through the airport with their hands full of luggage, but instead asks all travelers who are sitting near gates and not taking naps while they wait.

b. A teacher wants to know if her students are doing homework, so she randomly selects rows two and five and then calls on all students in row two and all students in row five to present the solutions to homework problems to the class.

c. The marketing manager for an electronics chain store wants information about the ages of its customers. Over the next two weeks, at each store location, 100 randomly selected customers are given questionnaires to fill out asking for information about age, as well as about other variables of interest.

d. The librarian at a public library wants to determine what proportion of the library users are children. The librarian has a tally sheet on which she marks whether books are checked out by an adult or a child. She records this data for every fourth patron who checks out books.

Name the sampling method by selecting the appropriate number:

1. Systematic,    2. Stratified,    3. Stratified Proportional,    4. Cluster,     5. Convenient,     6. Quota,   7. Simple Random)

Provide supporting comments for your answers

Provide supporting comments for your answers

Provide supporting comments for your answers

d.

__________________

Provide supporting comments for your answers

e.

__________________

Provide supporting comments for your answers

In: Statistics and Probability

A farmer wishes to test the effects of a new fertilizer on her tomato yield. She...

A farmer wishes to test the effects of a new fertilizer on her tomato yield. She has four equal-sized plots of land-- one with sandy soil, one with rocky soil, one with clay-rich soil, and one with average soil. She divides each of the four plots into three equal-sized portions and randomly labels them A, B, and C. The four A portions of land are treated with her old fertilizer. The four B portions are treated with the new fertilizer, and the four Cʹs are treated with no fertilizer. At harvest time, the tomato yield is recorded for each section of land.

  1. Is this an observational study or an experiment?

  2. Name at least 2 factors in this study.

In: Statistics and Probability

Please I need solution for this issue with all the details .please you can write the...

Please I need solution for this issue with all the details .please you can write the answer typing and not write by hand,so that I can read and understand your answer clearly.I need step by step solution to the following this question asap.

I would like a summary for this text below as the content is related to discrimination in the housing market.

Discrimination in the housing market:

Carlsson and Eriksson (2014) have carried out the most comprehensive field experiment in the housing market. on the landlord's gender and origin, apartment types and region.In six months in 2010 and 2011 was almost sent

6,000 housing applications to private landlords throughout Sweden. Applicants' characteristics are generated randomly, and experimental data were combined with municipal data from Statistics Sweden. The researchers found that male applicants with Arabic-sounding names were exposed to discrimination to a lesser extent when the landlord had a foreign-sounding name Just like the majority of previous research, this research also reports discrimination against men who signal Arab origin. The research grant reports results that the degree of discrimination varies depending on the above-mentioned variables, such as type of apartment and region. The outcome of the experiment reports that landlords with a foreign surname discriminate against the man who signals Arab origin to a lesser extent than landlords who have a Swedish name. In addition, discrimination is more pronounced in cities outside metropolitan areas, as well as in areas with a high proportion of low-skilled people. In doing so, the researchers emphasize the importance of looking at regional differences and variations in both the landlords' ethnic background and the characteristics of the apartment in discrimination research (Carlsson & Eriksson, 2014).

In: Economics

What was revealed by the Griffith experiment, the Avery experiment, and the Hershey Chase experiment as...

What was revealed by the Griffith experiment, the Avery experiment, and the Hershey Chase experiment as to the DNA of the gene itself. Explain in order the points that these experiments revealed.

In: Biology

Q1. You are developing an assay for HTS. Your positive control has a value (all arbitrary...

Q1. You are developing an assay for HTS. Your positive control has a value (all arbitrary units) of 10 and a standard deviation of 1, your negative control has a value of 3 and a standard deviation of 0.5. What is your Z-factor and would you recommend this assay to be run as assay in a HTS campaign?

Q2. a) Describe the key steps of a typical directed evolution experiment

b) Describe/name two techniques to create variant libraries for such an experiment

c) Explain (judge) if the two methods you described can be used to generate a variant library when starting from 1 allele only.

Q3. The Lead identification phase is the drug discovery phase during which the selected hits from the Hit identification are further explored. During this phase, new compounds will be synthesized and tested in a cyclic process often referred to as DMTA cycle. What does DMTA stand for? Explain shortly what is done in each step of this cycle.

Q4. Think about the up-stream process of producing a biopharmaceutical protein. What factors can influence (what can you work with) the yield of our product?

In: Biology

SIMPLE LINEAR REGRESSION. For this and the next 3 parts. The journal, Fisheries Science (Feb 1995)...

  1. SIMPLE LINEAR REGRESSION. For this and the next 3 parts. The journal, Fisheries Science (Feb 1995) reported on a study of the variables that affect endogenous nitrogen excretion (ENE) in carp raised in Japan. Carp were divided into groups of 2 to 15 fish each according to body weight and each group placed in a separate tank. The carp were then fed a protein-free diet three times daily for a period of 20 days. One day after terminating the feeding experiment, the amount of ENE in each tank was measured. The table below gives the mean body weight (in grams) and ENE amount (in milligrams per 100 grams of body weight per day) for each carp group [Source: Watanabe, T. and Ohta, M. "Endogenous Nitrogen Excretion and Non-Fecal Energy Loss in Carp and Rainbow Trout," Fisheries Science, Vol. 61, No. 1, Feb 1995, p. 56]. You should be able to determine which variable is the response variable and which is the explanatory variable. Which of the following is true? [I] Plot of the residuals shows an upward curvature [II] Plot of the residuals shows a downward curvature [III] The regression is significant at the 1% level [IV] Correlation coefficient of the two variables = -0.68 [V] Standard error of the estimate is 0.0297.

    Tank

    Body Weight

    ENE

    1

    11.7

    15.3

    2

    25.3

    9.3

    3

    90.2

    6.5

    4

    213.0

    6.0

    5

    10.2

    15.7

    6

    17.6

    10.0

    7

    32.6

    8.6

    8

    81.3

    6.4

    9

    141.5

    5.6

    10

    285.7

    6.0

    I and V only

    II, IV, V

    I and IV only

    II and III only

    None of the above

Part B.

  1. SIMPLE LINEAR REGRESSION (above data). Give a 99% prediction interval for the expected (mean) value of the dependent variable with X = 0 (note alpha = 0.01).

    8.3724; 14.4355

    6.9928; 15.8151

    -0.0508; -0.0034

    -0.0615; 0.0073

    None of the above

Part C.

  1. SIMPLE LINEAR REGRESSION (above data). Give a 99% confidence interval for the slope (note alpha = 0.01).

    8.3724; 14.4355

    6.9928; 15.8151

    -0.0508; -0.0034

    -0.0615; 0.0073

    None of the above

Part D.

  1. MULTIPLE REGRESSION (refer to above data). Conduct a multiple regression by introducing a quadratic term to the model. Which of the following is true? [I] About 74% of the variation in Y explained the regression [II] At the 1% level, the regression is statistically significant [III] At the 5% level, the regression is statistically significant [IV] Both coefficients are statistically significant at the 5% level [V] At least one of the independent variables is not significant

    I, III, V

    III, IV, V

    I, II, IV

    None of the above

In: Math

I ett laboratorium vet man av erfarenhet att ett experiment lyckas i 8 falla av 10,...

I ett laboratorium vet man av erfarenhet att ett experiment lyckas i 8 falla av 10, och att experiment lyckas oberoende av varandra.

a) Under en vecka genomfördes 25 experiment. Vad är sannolikheten att högst 2 experiment misslyckades?

b) Under ett år genomfördes 1100 experiment. Uppskatta sannolikheten att 900 eller fler experiment lyckades

In: Statistics and Probability

Describe what life span considerations you might use in applying the nursing process to infants, school-age...

Describe what life span considerations you might use in applying the nursing process to infants, school-age children, younger adults, and older adults in relation to immunizations and wellness.

Search entries or author

In: Nursing