aksnzhy / xlearn

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.
https://xlearn-doc.readthedocs.io/en/latest/index.html
Apache License 2.0
3.08k stars 518 forks source link

Model output produces gibberish #371

Closed brijagstu7 closed 1 year ago

brijagstu7 commented 1 year ago

When I run this, the dummy_output.txt file is gibberish, no matter which encoding I choose def fm_exec(inp="./FM_input.txt"): fm = xl.create_fm() fm.setTrain(inp) param = {'task':'binary', 'lr':0.2, 'lambda':0.002} fm.fit(param, "./dummy_output.txt")