Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Replace Nulls with MICE or Probabilistic PCA

Deebo
5 - Atom

Hi all!

 

I am trying to replace the NULL values in some fields not with the mean, but with Probabilistic PCA or MICE. How may I achieve that?

1 REPLY 1
DataCurious_Nick
6 - Meteoroid

Hi @Deebo 

 

Easiest route for both is probably by Python code - you can add a Python tool to the workflow and use the following links as ideas: 

 

MICE: (Uses numpy, pandas and scikit-learn - all included in the bundled Python instance with Alteryx Designer)

 

https://www.analyticsvidhya.com/blog/2021/10/a-complete-guide-to-dealing-with-missing-values-in-pyth... 

 

Probabilistic PCA

 

https://github.com/ymcdull/ppca - you can import additional Python packages into your Alteryx notebook when using Admin privileges using the Alteryx.InstallPackages() function. 

 

Hope this helps - Stay Curious!

 

Nick

datacurious.ai

 

 

 

Labels
Top Solution Authors