Hello, I'm running into a segmentation fault with the following snippet
along with the core dump output. The scikit version that I'm on
is scikit_learn-0.14.1.

import numpy as np
data = np.memmap('/tmp/features.dat', dtype='float64', mode='r',
shape=(40000000,100))
target = np.memmap('/tmp/targets.dat', dtype='uint8', mode='r',
shape=40000000)
from sklearn.linear_model import SGDClassifier
clf = SGDClassifier(loss="log", penalty="l2")
clf.fit(data, target)

Program terminated with signal 11, Segmentation fault.
#0  0x00007fa05a21c8aa in
__pyx_f_7sklearn_5utils_13weight_vector_12WeightVector_dot
(__pyx_v_self=0x329d350, __pyx_v_x_data_ptr=0x7f9c651271a0,
__pyx_v_x_ind_ptr=0x330f400, __pyx_v_xnnz=<value optimized out>)
    at sklearn/utils/weight_vector.c:1456
1456 sklearn/utils/weight_vector.c: No such file or directory.
in sklearn/utils/weight_vector.c
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to