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.