You have invented a lot of code duplication, when you could just allow the estimator to be passed as an argument to a shared `staticmethod` or module-level function. Please also choose a more descriptive name than `_set_parameters`. (If you use a module-level function, you don't have a problem of potentially overriding a method in a class using the mixin.)