Fix (float(__version__) > 0.11) crash for sklearn 0.13.x

sklearn versions added second dot and broke the float test used on line 1119, for which this pull request offers a fix.
Merge pull request #558 from twneale/patch-1

Fixes (float(__version__) > 0.11) crash for sklearn 0.13.x