Regularized modal regression with data-dependent hypothesis spaces