xlearn icon indicating copy to clipboard operation
xlearn copied to clipboard

segment fault when use FFM with 1400 feature

Open sounds opened this issue 4 years ago • 3 comments

training data num: 400000, feature num: 1400

same data, use FM is ok. but use FFM , segment fault when init. if Use data num 80000, and feature num 300, is ok.

its my config: ./xlearn_train ${pre}.${train_tag}.${suf}
-s 2
-v ${pre}.${valid_tag}.${suf}
-x auc
-p adagrad
-r 0.1
-b 0.0002
-k 4
-u 0.66
-e 100
-sw 10
-nthread 16 \

SO, how many num of feature that xlearn-ffm can support?

sounds avatar Jan 21 '20 09:01 sounds

1400 is a lot, maybe there's a maximum number of features, such as 1024.

thestick613 avatar Jan 27 '20 15:01 thestick613

1400 is a lot, maybe there's a maximum number of features, such as 1024.

I tried 600 features(600 fields),segment fault too

sounds avatar Feb 04 '20 09:02 sounds

x fields means there are dim*x*x interactions, that's quite a lot of features. You'd better reduce your fields, or maybe you should use features other than fields

lhdgriver avatar Apr 07 '20 08:04 lhdgriver