You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fromhyperimpute.plugins.imputersimportImputersn_epochs=256gain=Imputers().get('gain', n_epochs=n_epochs)
assertgain._model.n_epochs==n_epochs, 'Argument not passed down'
Also, perhaps the name of the argument "n_epochs" in GAIN should be changed, as it is really the number of gradient steps/iterations, and not passes over the entire dataset (e.g. an epoch).
Hope this helps.
The text was updated successfully, but these errors were encountered:
Hi, thanks for the package.
There's a minor bug in
GainPlugin
class, in that it doesn't pass down the arguments toGainImputation
:https://github.com/vanderschaarlab/hyperimpute/blob/main/src/hyperimpute/plugins/imputers/plugin_gain.py#L332-L349
To reproduce:
Also, perhaps the name of the argument "n_epochs" in GAIN should be changed, as it is really the number of gradient steps/iterations, and not passes over the entire dataset (e.g. an epoch).
Hope this helps.
The text was updated successfully, but these errors were encountered: