Alteryx Designer Desktop Discussions

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

How to get prediction explanations in Alteryx

IraWatt
17 - Castor
17 - Castor

Hi all,

I was looking to find if there are any examples or recommendations to get prediction explanations around ML models in Alteryx. What I'm looking for is row by row explanation of which variables contributed most to the prediction made for that row. For instance, the below example uses SHAP, it has the top features and if they contributed positively or negatively to the class prediction: 

IraWatt_1-1651009013148.png

Thanks,

Ira 

 

   

5 REPLIES 5
mbarone
16 - Nebula
16 - Nebula

I'm not aware of any out of the box tools within Alteryx.  We use Python and SHAP, or R and the xgboost explainer package (depending on who developed the model).  We actually do this outside of Alteryx and within the Python or R script itself (although we do use Alteryx to bring it all together).

IraWatt
17 - Castor
17 - Castor

ahh okay, thanks for reply @mbarone! Are you using Alteryx models made models? Any recommendation on python libraries for SHAP? I'm tying to use EvalML atm which I believe is affiliated with Alteryx. 

mbarone
16 - Nebula
16 - Nebula

We just started exploring SHAP so don't have the details worked out.  We have two 3 deployed models that use explainers.  2 of them use the xgboostExplainer package in R, and one uses Lime in R.

 

We do have a few models built right in Alteryx using their predictive tools (the "brown" R-based ones, not the new blue ones in Intelligence Suite).

 

All our other models were built in R studio or Python directly.  But the process flow once the scoring process is developed is all in Alteryx.  It's just that instead of code in the R or Python tool, it's just a call to the R or Python script (.R or .py).

IraWatt
17 - Castor
17 - Castor

That makes sense thanks @mbarone !

mbarone
16 - Nebula
16 - Nebula

Quite welcome!

Labels