python - PyBrain Deprecation Warning -


i getting deprecation warning whenever call splitwithproportion() function in pybrain. below warning:

/usr/local/lib/python2.7/dist-packages/pybrain-0.3.1-py2.7.egg/pybrain/datasets/sequential.py:45: deprecationwarning: using non-integer number instead of integer result in error in future   return self.getfield(field)[seq[index]:] 

does knows how solve this? reading, problem numpy library. running numpy 1.9. warning occurs when use pybrain sequential data set. thanks

it turns out problem not lie pybrain @ all. using pybrain dataset fed confusion matrix frm scikit-learn. deprecation problem scikit learn confusion_matrix class. so, if using confusion matrix of 0.14 version of scikit-learn, may encounter error. upgraded version of scikit-learn 0.15 , problem vanishes.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -