We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I trained a model lfm with logistic loss.
lfm
lfm = lightfm.LightFM(no_components=1, loss="logistic") lfm.fit(sparse_positive, epochs=100) lfm.predict(students, items)
Returns:
array([ 7.49537325, 8.20262432, 7.60994577, ..., 4.16664028, 5.1302681 , 3.18788409])
Shouldn't the output be bounded [0..1]?
The text was updated successfully, but these errors were encountered:
I think what's happening is that the sigmoid function is simply not applied to the outputs.
Arguably it should be, but I'm hesitant to make this fix as it would change the public API in a way that's not backwards-compatible.
Sorry, something went wrong.
No branches or pull requests
I trained a model
lfm
with logistic loss.Returns:
Shouldn't the output be bounded [0..1]?
The text was updated successfully, but these errors were encountered: