run module¶
Entry point to run the experiments
- run.get_preds(model, samples, masks, seed)¶
Computes the predictions of the model for the given samples without modifying the random state.
- Parameters
model – Any; model to use for the imputation
samples – np.ndarray(Float); samples to impute
masks – np.ndarray(Float); corresponding mask matrix
seed – Integer; seed to use
- Returns
np.ndarray(Float); imputed samples
- run.main(args)¶
Entry point of the program; prints results.
- Parameters
args – ArgumentParser; arguments of the program (see pipeline/argument_parser.py)