Prevent incorrect use of scikit-learn methods on discrete variables.
Fix unit tests.
Merge pull request #176 from lanzagar/skl-discrete

Prevent incorrect use of scikit-learn methods on discrete variables.