I'd prefer avoiding this new fit_inverse_transform param and add the .mixing_ attribute at inverse_transform time if not already set. I'd also make sure self.mixin_ is set to None in the fit. I know it's a kind of lazy evaluation magix but I find it much simpler.