Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only same output #321

Open
yunseongcho opened this issue Mar 11, 2020 · 4 comments
Open

only same output #321

yunseongcho opened this issue Mar 11, 2020 · 4 comments

Comments

@yunseongcho
Copy link

I'm trying to learn ffm model by this dataset
image

This dataset has approximately 10 million instance in size.
and the code is below

import xlearn as xl
ffm_model = xl.create_ffm()
ffm_model.setTrain("./train.txt")
param = {'task':'reg', 'lr':0.2, 'lambda':0, 'metric':'rmse'}

ffm_model.setTXTModel('./model.txt')
ffm_model.fit(param, "./model.out")
ffm_model.setTest("./test.txt")
ffm_model.predict("./model.out", "./output.txt")

This is a variation of the code example in xlearn documentation.

But always outputs are same value.
I tried to change parameter, and tried to change a little in dataset.
but the problem isn't solved.. help me please..
and I can't speak Chinese plz comments in english..

@myeonghak
Copy link

same issue here.
the output varies only 0.01 or something..

@myeonghak
Copy link

혹시 아직 해결 못하셨다면 제가 최근에 올린 이슈를 참고해 주시기 바랍니다.
제 경우에는 전처리 후 라벨 자리에 있어야할 데이터가 잘못될 경우에 저런 증상이 나오더라구요

@ghost
Copy link

ghost commented May 6, 2021

Have you solve the problem? I meet the same situation

@myeonghak
Copy link

Have you solve the problem? I meet the same situation

please refer to this issue I posted:

#351

hope this may help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants