[SOLVED] Machine Learning Homework 3

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon HW3-utvcur.zip (1741.4 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
๐Ÿ”’ Securely Powered by:
Secure Checkout
Rate this product

This exercise is composed of 2 parts: 1. probability theory part
2. coding part

Probability Theory Questions

  1. Given a random sample {๐‘ฅ1 , ๐‘ฅ2 , … , ๐‘ฅ๐‘› }, derive the maximum likelihood estimator ๐‘ of the Binomial distribution.๐ต(๐‘ฅ, ๐‘) = (๐‘›) ๐‘๐‘ฅ(1 โˆ’ ๐‘)๐‘›โˆ’๐‘ฅ ๐‘ฅ
  2. A student wants to know her chances to pass and fail an exam if she studies and if she doesnโ€™t study. From last yearโ€™s results, she sees that ๐‘ƒ(๐‘๐‘Ž๐‘ ๐‘ ) = 60%. She also found out that ๐‘ƒ(๐‘ ๐‘ก๐‘ข๐‘‘๐‘–๐‘’๐‘‘|๐‘๐‘Ž๐‘ ๐‘ ) = 95%, ๐‘ƒ(๐‘ ๐‘ก๐‘ข๐‘‘๐‘–๐‘’๐‘‘|๐‘“๐‘Ž๐‘–๐‘™๐‘’๐‘‘) = 60%. You can assume that every student either studied or didnโ€™t study, and either passed or failed.

a. b.

3. Find 3 a. b. c. d.

What is her probability of passing the exam if she studies? What is her probability of passing if doesnโ€™t study?

random variables ๐‘‹, ๐‘Œ, ๐ถ such that:
๐‘‹โŠฅ๐‘Œ|๐ถ (๐‘‹and๐‘Œareindependentgiven๐ถ).
๐‘‹ and ๐‘Œ are not independent.
๐‘‹,๐‘Œ are integers such that 3 โ‰ค ๐‘‹,๐‘Œ โ‰ค 9 and ๐ถ is binary. The following conditions hold:

  1. ๐‘ƒ(1โ‰ค๐‘‹โ‰ค5)=0.4
  2. ๐‘ƒ(1โ‰ค๐‘Œโ‰ค5)=0.4

iii. ๐‘ƒ(๐ถ=0)=0.3
You need to specify the value of ๐‘ƒ(๐‘‹ = ๐‘ฅ, ๐‘Œ = ๐‘ฆ, ๐ถ = ๐‘). How many relevant values exist?

4. The probability of Wolt arriving on time is 0.75.

  1. What is the probability of having 2 on-time meals in a week (7 days)?
  2. What is the probability of having at least 4 on-time meals in a week?
  3. A company of 100 employees recorded the number of on-time meals they hadduring a particular week and averaged their results. What do you expect the value of that average to be?

Coding exercise
Follow the instructions supplied for you in the MAP classifier Jupyter notebook.

  • HW3-utvcur.zip