1
$\begingroup$

Does the order of columns in the the sparse format matters in case of libfm ? Can I list the non zero components of X in libfm in any order in a row.

$\endgroup$
  • $\begingroup$ If your question is solely about a software (and not about statistics), then this site is not the right place to ask. Have you taken a look at Stack Overflow? $\endgroup$ – Patrick Coulombe Jul 20 '14 at 5:45
2
$\begingroup$

The documentation says that libFM uses the LIBSVM file format. LIBSVM provides a python tool to validate data files, and that tool throws an error if the column indices are not in ascending order:

https://github.com/tomz/libsvm-ruby-swig/blob/master/libsvm-3.1/tools/checkdata.py#L87

So I would assume that for libFM the column indices should also be in ascending order.

| cite | improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.