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.
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")
When I run this, the
dummy_output.txt
file is gibberish, no matter which encoding I choosedef 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")