Rather than raising an error, you could also compute the pseudo inverse right here. The fit_inverse_transform option would be useful for people who want to call inverse_transform several times. In that case precompute_mixing would probably be a better name.