def model_error_by_feature(self, model_name):
model_results = self.model_results[model_name]
metadata = model_results.metadata
holdout = model_results.holdout_data
low_card_cols = [ColType.CATEGORICAL, ColType.ORDINAL]
for col in metadata[metadata.type.isin(low_card_cols)].col_name:
sns.barplot(x=col, y='error', data=holdout)
plt.show()
评论列表
文章目录