never mind. I think I should be able to figure it out myself: http://scikit-learn.org/dev/developers/#pipeline-compatibility. I'll ask again if I'm stuck for too long.