[Scipy-tickets] [SciPy] #1380: Memory overflow error in LBFGSB optimization under SciPy 0.9.0

SciPy Trac scipy-tickets@scipy....
Tue Feb 1 08:52:05 CST 2011


#1380: Memory overflow error in LBFGSB optimization under SciPy 0.9.0
-----------------------------------------------+----------------------------
 Reporter:  sami.badawi                        |       Owner:  somebody
     Type:  defect                             |      Status:  new     
 Priority:  normal                             |   Milestone:  0.9.0   
Component:  scipy.maxentropy                   |     Version:  devel   
 Keywords:  LBFGSB BFGS memory overflow error  |  
-----------------------------------------------+----------------------------
 I am using LBFGSB optimization from NLTK, on WinXP, for maximum entropy
 machine learning.

 This is my call:

 nltk.MaxentClassifier.train(train, algorithm='LBFGSB',
 gaussian_prior_sigma=1, trace=2)

 Under SciPy 0.8 and Python 2.6 this returned in a few seconds.

 Under SciPy 0.9 it ran for around 10 minutes eating up 1.5GB before it
 crashed. This happened for both SciPy 0.9 Beta 1 and RC1 under Python 2.7.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1380>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list