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

About regularization #30

Open
helenxu opened this issue Mar 14, 2018 · 1 comment
Open

About regularization #30

helenxu opened this issue Mar 14, 2018 · 1 comment

Comments

@helenxu
Copy link

helenxu commented Mar 14, 2018

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

@uchida-takumi
Copy link

Hi,

I add arguments and activate the regularizations.

PULL REQUEST:
#42
MY FORK BRANCH:
https://github.com/uchida-takumi/pyFM/tree/available_regularization%2330

IF your help, I am happy.

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