Deep-ML is a free, open-source machine learning challenge platform. Practice ML coding problems, work with real datasets in labs, and learn through interactive articles.
Please enable JavaScript to use the full platform.
A model answered the same coding question tries times, and correct of those answers pass the tests. You pick k different answers at random and run them. Write pass_at_k(tries, correct, k): the chance at least one of your k is right.
tries
correct
k
pass_at_k(tries, correct, k)