scipy.stats.expon(scale): this is the continuous equivalent of geom. Just set scale to the most likely value. scipy.stats.loguniform(a, b): when you have almost no idea what the optimal hyperparameter ...