Change imports of scipy and scikitlearn.