Hi, You are having a problem that is related to persistence. Probably that you are loading something that has been persisted using a different version of joblib or of scikit-learn.
GaĆ«l On Sat, May 10, 2014 at 10:58:36AM -0700, Xiandi Zhang wrote: > Hi, > I can run the same successfully in sklearn 0.13. But got this error when I > upgraded to 0.14. This is my first post in this list. If there is anything I > need to specifically provide, in case of reporting an issue, please let me > know. > File "/usr/local/lib/python2.7/site-packages/sklearn/naive_bayes.py", line > 99, in predict_proba > return np.exp(self.predict_log_proba(X)) > File "/usr/local/lib/python2.7/site-packages/sklearn/naive_bayes.py", line > 80, in predict_log_proba > jll = self._joint_log_likelihood(X) > File "/usr/local/lib/python2.7/site-packages/sklearn/naive_bayes.py", line > 179, in _joint_log_likelihood > jointi = np.log(self.class_prior_[i]) > TypeError: 'NDArrayWrapper' object does not support indexing > Thanks, > Cindy > ------------------------------------------------------------------------------ > Is your legacy SCM system holding you back? Join Perforce May 7 to find out: > • 3 signs your SCM is hindering your productivity > • Requirements for releasing software faster > • Expert tips and advice for migrating your SCM now > http://p.sf.net/sfu/perforce > _______________________________________________ > Scikit-learn-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general -- Gael Varoquaux Researcher, INRIA Parietal Laboratoire de Neuro-Imagerie Assistee par Ordinateur NeuroSpin/CEA Saclay , Bat 145, 91191 Gif-sur-Yvette France Phone: ++ 33-1-69-08-79-68 http://gael-varoquaux.info http://twitter.com/GaelVaroquaux ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
