pystruct / pystruct

Simple structured learning framework for python
http://pystruct.github.io
BSD 2-Clause "Simplified" License
665 stars 174 forks source link

pystruct multi-label MemoryError #183

Open baderex opened 8 years ago

baderex commented 8 years ago

Im using pystruct for multi-label using a tree with about 200 nodes for text classification. My td-idf matrix is large (199x4013) and using SubgradientSSVM it also give MemoryError?

amueller commented 8 years ago

That doesn't seem very large actually. That should work. So there is 199 samples? PyStruct can't currently handle sparse features, which makes it not great for text data.

On 04/27/2016 08:23 AM, baderex wrote:

Im using pystruct for multi-label using a tree with about 200 nodes for text classification. My td-idf matrix is large (199x4013) and using SubgradientSSVM it also give MemoryError?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/pystruct/pystruct/issues/183

baderex commented 8 years ago

Thank you Amueller. Yes it is only 199 samples. Do you recommend any library that would work with sparse features?