Machine Learning Probability Homework
Machine Learning Probability Homework
Homework 1:
1
In the game, Alex can randomly choose an integer, let’s say x and feed
that number to a machine. The machine in turn runs a program which
takes the given number as input and transforms that number using a fixed
function F : Z → Z (which takes an integer as argument and returns an
integer) and then adds some integer noise to that and produces the final
output. So given an integer x the overall output of the program is of the
form: y = F(x) + , where x, y, ∈ Z.
Now, Alex’s job is to predict the output y. Based on how accurate his
prediction is, he gets some reward. It is evident that Alex does not know
the exact functional form of F and hence is planning to employ a ma-
chine learning model to improve his predictions in order to maximize his
reward. Fortunately, Alex somehow has the some information about the
functional form of F that the program uses to generate its output. The
function F has the following property:
G = arg maxΣN
i=1 (yi − f (xi ))
2
f ∈C
2
(Ai ’s in this case), is called atomic. Prove that the Borel σ-algebra BR is
not atomic.
8. Your friend, Carlsen performs an experiment in which he repeatedly flips
a biased coin until a head appears. He notes down the outcome of each
trial of his experiment. Naturally the set of outcomes (call it Ω) contains
elements like H, TH, TTH and so on (where H denotes the occurrence
of a Head and T is for a Tail). Now Carlsen needs help to equip himself
with the required mathematical framework to deal with probabilities.
(a) Construct a σ-algebra (F) on Ω so that Carlsen will be able to assign
probabilities to (at the very least) all possible singleton sets {ω}
where ω ∈ Ω, and prove that F is indeed a σ-algebra.
(b) Is the set F countable? Justify your answer.
(c) Now Define a probability measure P : F → [0, 1]. Justify why you
think P is a probability measure.
(d) Give a random variable X on the probability space (Ω, F, P ) as de-
fined by you so far. Now use the same probability as defined in (c)
induced by the random variable X to show that
lim P (X ≤ x) = 1
x→+∞