Dr. Dror

Foo is not just a "Bar"

#sklearn Articles



  • Thu 22 June 2017
  • ML

Some learnings from implementing a transformer

I had to (or at least I thought I had to) implement a transformer to be used in a sklearn.pipeline.Pipeline. In a nutshell, I implemented badly the transform method. The original version can be found in this gist. In the following version I fixed it. Furthermore, I left …