On Tue, Mar 26, 2013 at 9:25 PM, Lee Zamparo <zamp...@gmail.com> wrote:
> AFAIK, you might not want all the missing values to be imputed at once,
> especially if the dimensions of X are large.  Maybe something like:
>
>
> X_transformed = estimator.fit_transform(X) # X contains missing values
> X_subset = estimator.inverse_transform(X_transformed,row_subset) # impute
> only a subset of the rows of X

Can't you just do estimator.inverse_transform(X[:subset])?

Mathieu

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to