@GaelVaroquaux ironically, this is what I had before. I wanted to let it crash early, not on calling fit. Is there a reason to postpone an exception?