teras.tasks.Imputer

teras.tasks.Imputer#

class teras.tasks.Imputer(model, data_transformer=None)[source]#

Imputer task class used to impute missing data using the trained model instance.

Parameters:
  • model (Model) – keras.Model, trained instance of a keras model that will be used to impute missing data. Currently, teras offers GAIN and PCGAIN architectures for imputation.

  • data_transformer – Instance of a relevant data transformer that is used during the data transformation step before training the respective architecture.

__init__(model, data_transformer=None)[source]#

Methods

__init__(model[, data_transformer])

impute(x[, reverse_transform, batch_size, ...])

Imputes the missing data.