Skip to content

About regularization #30

@helenxu

Description

@helenxu

Hi,

From the code I see:

    # Regularization Parameters (start with no regularization)
    self.reg_0 = 0.0
    self.reg_w = 0.0
    self.reg_v = np.repeat(0.0, num_factors)

However, I don't see where the regularization parameters are updated. Moreover, after fitting the model, I used model.reg_v to output the regularization parameters, it gave me an array of zeros. I am wondering does the model impose regularization on the model parameters? Thanks

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