Fixed a bug occuring for sklearn-0.10