You can use also a binary indicator format.

I think that a small example would be nice which would basically show how to use that estimator with either of list of tuple or binary indicator format.