Closed kearnz closed 5 years ago
Imputation methods now take parameters for priors as arguments to respective function. That being said, strategy_args
not supported yet, so PredictiveImputer
still used default values. That being said pmm
now sets prior mu
intelligently using point estimates from least squares.
PredictiveImputer
(and MultipleImputer
) take imp_kwgs
, so parameters can be set more intelligently. defaults still in place if the user does not pass any imp_kwgs
.
Default value of priors for
mu
andsd
in numerical bayesian methods for imputation should likely be from the observedseries
for which we are trying to predict. Right now they are hard-coded at0
and10
respectively. Eventually, the user will have the option to pass these values, but until then, we still likely need better defaults.Bad priors can lead to slow convergence for MCMC and even numerical overflow issues with
pymc3
when realistic values are not within the prior interval.