def plot_binned_response_rate(lift: pd.DataFrame):
import seaborn as sns
plt.figure()
sns.barplot(y=lift['NumCorrectPredictions'] / lift['NumCases'], x=lift.index.tolist(), color='salmon', saturation=0.5)
plt.show()
评论列表
文章目录