Skip to content

Tweak callback API#612

Merged
benfred merged 1 commit into
mainfrom
tweak_callback
Aug 31, 2022
Merged

Tweak callback API#612
benfred merged 1 commit into
mainfrom
tweak_callback

Conversation

@benfred

@benfred benfred commented Aug 31, 2022

Copy link
Copy Markdown
Owner
  • Rename the 'fit_callback' parameter on the '.fit' method to just
    'callback' (since the fit_ is redundant)
  • Update fit method signatures of subclasses like the ANN models and ItemItem models to
    be consistent with the base class
  • fix issue in implicit/cpu/als.py where the callback parameter wasn't being used, and add
    a unittest that tests this

* Rename the 'fit_callback' parameter on the '.fit' method to just
'callback' (since the fit_ is redundant)
* Update fit method signatures of subclasses like the ANN models and ItemItem models to
be consistent with the base class
* fix issue in implicit/cpu/als.py where the callback parameter wasn't being used, and add
a unittest that tests this
@benfred benfred merged commit 41f2819 into main Aug 31, 2022
@benfred benfred deleted the tweak_callback branch August 31, 2022 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant