我非常混淆了使用SHAP解释模型时与分类栏做些什么。
As for example, I m using the bike sharing dataset from kaggle (https://www.kaggle.com/datasets/lakshmi25npathi/bike-sharing-dataset)
在对分类栏(即天气/周日)进行热编码之后,对模型进行了培训,并与SHAP做了解释,所解释的特点与一个热编码特征相同。
Is there a way or concept on how to merge back the SHAP value of those one hot encoded feature into single feature? (for example, SHAP value of one hot encoded feature: Weather_Spring, Weather_Summer, Weather_Fall, Weather_Snow back into single column value of Weather)