0

Ubuntu 12.04 にskicit-learn 0.13.1 をインストールしました。次のコードを実行すると、メモリが食い尽くされます。160 回の反復 (「ulimit -Sv 4000000」で使用可能なメモリを約 4GB に制限)。

from sklearn import gaussian_process
import numpy as np


x = np.random.normal(size=(600, 60))            
y = np.random.normal(size=600)

for s in range(100000):

    print 'step %s' % s

    test = gaussian_process.GaussianProcess(
            theta0= 1e-2,
            thetaL= 1e-4,
            thetaU= 1e-1,
            nugget= 0.01,
            storage_mode='light').fit(x, y) 

それで、私はここで何かが欠けていますか?

4

1 に答える 1

0

これは深刻なメモリ リークのようです。https://github.com/scikit-learn/scikit-learn/issuesで報告してください。

于 2013-02-26T10:59:34.070 に答える