bjlkeng / bjlkeng.github.io Goto Github PK
View Code? Open in Web Editor NEWMy Github Pages Blog
My Github Pages Blog
http://bjlkeng.github.io/posts/variational-autoencoders/
Thank you for your wonderful blog.
I am not sure whether the first item in the Equation (14) (Actually there is no Equation 14, I am referring to the one below Equation 13) is completely correct.
In your SHAP post , you mentioned:
When |zā²|=0 or |zā²|=M the expression has a divide by zero, but you can just drop these terms in general (that's how I interpret what the paper says anyways).
I don't think you should drop these terms in general.
When |z'| = 0, we know nothing about the data point to be explained. The predicted value equals the mean prediction of the model. The weighted linear model should then enforce this constraint by giving it a very big weight, so that the base value (intercept of the WLS model) would approximately equal the mean prediction of the model.
When |z'| = M, every feature of the data point is present, and the coefficients and the intercept would sum up to the model output of the data point. The weighted linear model should also enforce this constraint by giving it a very big weight, so that the SHAP values (coefficients + intercept) would sum up to the predicted outcome of the data point. That essentially is the Efficiency property from the Shapley values.
So instead of dropping these terms, we should assign a big weight to them (something like 1E8). Note that for all other cases (|z'| between 1 and M-1), the SHAP kernel is guaranteed to be less than 1.
Finally, I really appreciate your great post! It helped me understand SHAP immensely.
I'll write my article in Japanese based on your articles in this repository, but they are not licensed, so I would like to know about them.
When
|z'|=1
or|z'|=M
the expression has a divide by zero
Should be: |z'|=0
or |z'|=M
See: https://arxiv.org/pdf/1705.07874v1.pdf, second last paragraph on page 5.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ššš
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ā¤ļø Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.