Dr. Dror

Foo is not just a "Bar"

#python 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 …

When trying to hash a data frame

TL;DR The function pandas.DataFrame.values is not the inverse of pd.DataFrame(np.array). Introduction An important part of reproducible data science work, is the ability to apply the DAG on the very same dataset. Simplest option is to commit the datasets to a VCS like git. This …

Setting new computer

Mostly notes for myself on what items I installed on a new machine. You might be interested as well.

  • Fri 20 January 2017
  • HowTo

My getting started with Atom

Introduction I recently discovered Atom. In the past, I've been using Emacs but not so long ago I realized that it is time to move on. Sublime Text 3 was the next editor, but only for a short while. Getting to know Atom and the fact it is free made …