I was thinking of inverse_tranform for the the treshold. This does not apply for fit.