Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Former-commit-id: ce3e3b6
  • Loading branch information
MaxHalford committed Mar 13, 2020
1 parent d03d2e1 commit c4dc51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion creme/reco/funk_mf.py
Expand Up @@ -92,7 +92,7 @@ def __init__(self, n_factors=10, optimizer=None, loss=None, l2=0., initializer=N
self.l2 = l2

if initializer is None:
initializer = optim.initializers.Normal(mu=0., sigma=.1, seed=random_state)
initializer = optim.initializers.Normal(mu=0., sigma=.1, seed=seed)
self.initializer = initializer

self.clip_gradient = clip_gradient
Expand Down

0 comments on commit c4dc51a

Please sign in to comment.