Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

COMP4600/8460 - Advanced Algorithms

S2 2022

Assignment 4

Questions

ratio sˆ, where sˆ is the solution to  1 m

sˆ

sˆ

= (1 +  1 )k

ksˆ


 

Q2) (10 Marks) Consider a variant of dating problem – each candidate has a score sampled form a uniform distribution in [0, 1]. The candidates are ranked according to their scores. Provide an online strategy that maximizes the chance of picking the candidate of the highest score

Q3) (10 Marks) Simulate WMA and WMU, considering the following experts:

 

1. Expert who makes a uniformly random prediction all the time

2. Expert who always predicts the same as the outcome of the previous day

3. Expert who predicts the future the outcome of the next day with accuracy of 1 + δ, where δ is a

small constant

4. Create your own expert and explain your model

 

Generate the outcome of each day based on a uniform distribution

Vary the number of days T and ϵ to test the accuracy of WMA and WMU

 

 

Answers

 

. . .

 

References

 

[BE] Borodin & El-Yaniv, Online Computation and Competitive Analysis, Cambridge University Press.