High performance, easy-to-use, and scalable machine learning (ML) package, including linear model (LR), factorization machines (FM), and field-aware factorization machines (FFM) for Python and CLI interface.
terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid Aborted (core dumped)
I was tried to using xlearn in python code by pip (environment: Ubuntu 18, Python3, gcc, clang... was installed). But I got a problem like above.
And There are same open issues #215 #194
The main reason is log_file parameter was missed while xlearn runned(by python). And this part is in src/solver/solver.cc. I think this is because of OS version or C compiler version issue. And I found this by c++ debugger. (gdb)
After fix some parameter code on src/solver/solver.cc and build xlearn again, it works well.
Has anyone solved the problem like this? I share this case for xlearn's user
| | _ \ \/ / | / \/ ` | '| '_ \
terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid Aborted (core dumped)
I was tried to using xlearn in python code by pip (environment: Ubuntu 18, Python3, gcc, clang... was installed). But I got a problem like above. And There are same open issues #215 #194
The main reason is
log_file
parameter was missed while xlearn runned(by python). And this part is insrc/solver/solver.cc
. I think this is because of OS version or C compiler version issue. And I found this by c++ debugger. (gdb)After fix some parameter code on
src/solver/solver.cc
and build xlearn again, it works well.Has anyone solved the problem like this? I share this case for xlearn's user