Machine Learning is the science of learning from experience. Suppose Alice is repeatedly doing an experiment. In each experiment, she tosses n coins. She does this experiment m times. In the first round, x1 coins yielded a head and y1 coins yielded a tail. Notice that, x1 + y1 = n. In the second round, x2 coins yielded a head and y2 coins yielded a tail. Once again, x2 + y2 = n. She does this experiment m times. Your job is to estimate the probability p of a coin yielding a head. 1. What is your guess on the value of p? 2. In Maximum Likelihood Estimation, we want to find a parameter p that maximizes all the observations in the dataset. If the dataset is a matrix A, where each row a1, a2, · · · , am are individual observations, we want to maximize P(A) = P(a1)P(a2)· · · P(am) because individual experiments are independent. Maximizing this is equivalent to maximizing log P(A) = log P(a1) + log P(a2) +· · ·+ log P(am). Maximizing this quantity is equivalent to minimizing the − log P(A) = − log P(a1) − log P(a2) − · · · − log P(am). 3. Here you need to find out P(ai) for yourself.

Algebra: Structure And Method, Book 1
(REV)00th Edition
ISBN:9780395977224
Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Chapter11: Rational And Irrational Numbers
Section11.6: The Pythagorean Theorem
Problem 12WE
icon
Related questions
Question

Please provide step-by-step solution for the following:

 

Machine Learning is the science of learning from experience. Suppose Alice is repeatedly doing an
experiment. In each experiment, she tosses n coins. She does this experiment m times. In the first
round, x1 coins yielded a head and y1 coins yielded a tail. Notice that, x1 + y1 = n. In the second
round, x2 coins yielded a head and y2 coins yielded a tail. Once again, x2 + y2 = n. She does this
experiment m times. Your job is to estimate the probability p of a coin yielding a head.


1. What is your guess on the value of p?
2. In Maximum Likelihood Estimation, we want to find a parameter p that maximizes all the
observations in the dataset. If the dataset is a matrix A, where each row a1, a2, · · · , am are
individual observations, we want to maximize P(A) = P(a1)P(a2)· · · P(am) because individual experiments are independent. Maximizing this is equivalent to maximizing log P(A) =
log P(a1) + log P(a2) +· · ·+ log P(am). Maximizing this quantity is equivalent to minimizing the
− log P(A) = − log P(a1) − log P(a2) − · · · − log P(am).
3. Here you need to find out P(ai) for yourself. 

 

1st to 2nd to 3rd to 4th to 5th to 6th to 7th toss
T
H
H
H
H
HT
H
T H
H
T T
H
H
T
H
T H
T
HH
T T
TT H
HT T T
H
H
T
T
HT
T
T
T
T
T
H
T
T
T T H H T T
Transcribed Image Text:1st to 2nd to 3rd to 4th to 5th to 6th to 7th toss T H H H H HT H T H H T T H H T H T H T HH T T TT H HT T T H H T T HT T T T T T H T T T T H H T T
Expert Solution
steps

Step by step

Solved in 3 steps with 33 images

Blurred answer
Recommended textbooks for you
Algebra: Structure And Method, Book 1
Algebra: Structure And Method, Book 1
Algebra
ISBN:
9780395977224
Author:
Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:
McDougal Littell
Holt Mcdougal Larson Pre-algebra: Student Edition…
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Elementary Geometry For College Students, 7e
Elementary Geometry For College Students, 7e
Geometry
ISBN:
9781337614085
Author:
Alexander, Daniel C.; Koeberlein, Geralyn M.
Publisher:
Cengage,
Elementary Geometry for College Students
Elementary Geometry for College Students
Geometry
ISBN:
9781285195698
Author:
Daniel C. Alexander, Geralyn M. Koeberlein
Publisher:
Cengage Learning