import check_arrays from sklearn

It seems like "check_arrays" doesn't exist (anymore). I fixed it with:

sudo vi /usr/lib64/python2.7/site-packages/sklearn/metrics/cluster/bicluster/bicluster_metrics.py

change this: from sklearn.utils.validation import check_arrays to: from sklearn.utils.validation import check_array as check_arrays

Kind of a hack, but it works for me.


This method was removed in 0.16, replaced by a (very different) check_array function. You are likely getting this error because you didn't upgrade from 0.15 to 0.16 properly. [Or because you relied on a not-really-public function in sklearn]. See http://scikit-learn.org/dev/install.html#canopy-and-anaconda-for-all-supported-platforms . If you installed using anaconda / conda, you should use the conda mechanism to upgrade, not pip. Otherwise old .pyc files might remain in your folder.