
Answer-first summary for fast verification
Answer: hp.qloguniform(label, low, high, q)
The correct answer is **B. hp.qloguniform(label, low, high, q)**. This function generates a random value from a log-uniform distribution within specified bounds and quantizes it by rounding to a multiple of `q`, closely matching the described formula's behavior. Other options do not fully replicate the formula's steps involving exponentiation, rounding, or quantization.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.