2013/12/21 Lucas Vergeest <[email protected]>: > When running it on character 1- to 3-grams, everything goes fine. The same > goes for word 1-grams. (Everything above 1-grams gives the error in this > case) > When the n-gram range gets larger, I get a Segmentation fault. > > I already set the stack size to unlimited. This didn't solve the issue > though. > > Some googling already learned me that the problem might actually be caused > by numpy, not scikit-learn. > (https://github.com/scikit-learn/scikit-learn/issues/435) > > I have attached my script to this mail. > Can anyone give me a clue? Thanks in advance!
Any idea where the segfault occurs? You can find out by adding some print calls here and there in your script, and maybe in your installed version of scikit-learn (put a copy of the Git repo somewhere with git clone, do "make inplace" and add it to your PYTHONPATH if you don't want to mess with your present setup). ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
