Once again, I am surprised that you redo this at transform time. Shouldn't you be using the value computed at fit time?