Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a python program for Randomizing the Leader: Consider the problem of online learning on the simplex d where d = 1 0 0 0

Write a python program for Randomizing the Leader: Consider the problem of online learning on the simplex
d where d=1000; At round t, you predict pt and receive a vector zt and suffer a loss of
ptTzt. Assume the adversary picks the vector zt as the t-th row in the dataset Dataset_Z.
Implement FTRL with quadratic and entropic regularization for this problem and plot the
regret over time.
Now, consider the following algorithm which first picks and fixes a random 1000 dimensional
vector R sampled uniformly from [0,1]d and uses the following rule for prediction
pt+1=argminpindi=1t(pT(zi+R))
How would you choose for this problem? For the value chosen, plot the regret bound
for this algorithm as well. How does the regret bound compare with the previous two
algorithms for this problem?
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions