[SOLVED] IE613 Assignment3

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 Assignment-3-sbwjsm.zip (373.3 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
Rate this product

Question 1You will implement and compare different algorithms for sampling the arms of a stochastic multi-armed bandit. Each arm provides i.i.d. rewards from a Bernoulli distribution with mean given in the table below. The objective is to minimise the regret. The algorithms you will implement are epsilon-greedy exploration, UCB, KL-UCB, Thompson Sampling.

Arm Arm 1 Arm 2 Arm 3 Arm 4 Arm 5
Mean 0.4 0.3 0.5 0.2 0.1

Table 3.1: Table 1

For epsilon greedy, you can choose

Question 2  Pure exploration, Best Arm Selection: Consider a K-armed bandit where each arm is a Bernoulii random variable. We would like to identify the best arm with probability atleast 1−δ, i.e., Pr{Iˆ= I}≥ 1−δ, where Iˆ is the estimated best arm and Iis the best arm. Numerically compare the expected sample complexity and the mistake probability of the following algorithms for different values of K. Set (confidence parameter) δ = 0.1.

  • KL-LUCB [1] with parameters
  • lil’UCB [2] with parameters.

Vary K between 10 to 50 in step size of 10. For each K, generate 1000 bandit instances with mean reward for each arm drawn uniformly at random from [0,1]. Average the sample complexities over all the instances to obtain the average sample complexity and the mistake probability should be calculated as the fraction of times non best arm is returned after stop signals are received.

Submission Format and Evaluation: Your should submit a report along with your code. Please zip all your files and upload via Moodle. The zipped folder should named as YourRegistrationNo.zip e.g.‘154290002.zip’. The report should contain one figure with four plots corresponding to each algorithm in Q.1. Write a brief summary of your observations. We may also call you to a face-to-face session to explain your code.

  • Assignment-3-sbwjsm.zip