idailylife / sofia-ml

Automatically exported from code.google.com/p/sofia-ml
0 stars 0 forks source link

sofia doesnt work on sparse dataset containing lines in which all features are 0 #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi there.

What steps will reproduce the problem?
./sofia-ml --learner_type pegasos --loop_type stochastic --lambda 0.1 
--iterations 10000 --dimensionality 450000 --training_file ../data/m256 
--model_out demo/model

What is the expected output?

What do you see instead?
Reading training data from: ../data/final/catted/train/m256
Segmentation fault (core dumped)

What version of the product are you using? On what operating system?
Ubuntu 13.10 64bit

Please provide any additional information below.

I guess it is because my training data (attached) is so sparse that in some 
lines all features are zero. Can sofia-ml support such dataset? Thank you!

Original issue reported on code.google.com by Shockley...@gmail.com on 18 Mar 2014 at 3:34

Attachments: