Statistics and InferenceMedium
Expected Maximum over Random Seeds
~16 mincode completion
Implement seed_variance_and_expected_max(scores, k) returning the array [s2, expected_max].
Where this shows up
~16 min
••••••••••••••••
8 employers weight this skill
4 quant funds, 2 health and bio companies, 2 big tech firms. Top match scores 92.
Python
import numpy as np
def seed_variance_and_expected_max(scores, k):
"""
Sample variance of seed scores and the expected best score over k seeds.
Args:
scores: (n,) validation score of each observed seed, in any order, n >= 2
k: number of seeds the maximum is taken over
Returns:
array [s2, expected_max]
"""
# YOUR CODE HERE
pass