์ด์ ์๋ ๋ฐ์ํ์ง ์์ ํ ๊ฐ์ง ์ฌ์ค์ ์ค์ ๋ก shap ๊ฐ์ ์ฌ์ฉํ์ฌ ์ข ์์ฑ ํ๋กฏ์ ์ํํ ์ ์๋ค๋ ๊ฒ์ ๋๋ค. https://slundberg.github.io/shap/notebooks/plots/dependence_plot.html
๋๋ ์ฐ๋ฆฌ๊ฐ ์ฌ์ ํ ์ ํต์ ์ธ ๋ถ๋ถ deps ํ๋กฏ์ ์ถ๊ฐํ๋ ๊ฒ์ผ๋ก ์์ํ๋ค๊ณ ์๊ฐํ์ง๋ง ํฅ๋ฏธ๋กญ๊ณ ์ด API๋ฅผ ๊ฐ๋ฐํ ๋ ์ผ๋์ ๋์ด์ผ ํ ์ฌํญ์ด๊ธฐ ๋๋ฌธ์ ์ด๊ฒ์ ๊ณต์ ํ๊ณ ์ถ์์ต๋๋ค.
@kmax12 ๊ณต์
@angela97lin ๊ณผ ๋ ผ์ํ์ต๋๋ค. ํ ์ดํฌ์์:
def partial_dependence(pipeline, X, feature_name, grid_resolution=None):
...
def graph_partial_dependence(pipeline, X, feature_name, grid_resolution=None):
...