Skip to content

Global bias is None, even k0 is True #25

@snowsteper

Description

@snowsteper

I was trying to calculate the prediction value myself with the weight output by model and always got the wrong answer.
Then I realized that the bias value is always None, even if I set k0=True manually.

fm = pywFM.FM(task='regression', num_iter=5, k2=2, k0=True)

I don't know whether the wrong answer came from the absence of bias, but it seems strange that the global_bias is always None.

How can I fix it?
Or, is there any possibility I can calculate the prediction myself?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions