hakubishin3 / booking-challenge-2021

Booking.com Challenge - WebTour 2021 ACM WSDM workshop https://www.bookingchallenge.com/
5 stars 0 forks source link

ベン図でカテゴリの重なり具合を確認する #5

Closed hakubishin3 closed 3 years ago

hakubishin3 commented 3 years ago

Why

What

hakubishin3 commented 3 years ago
fig, axes = plt.subplots(3, 3, figsize=(18, 14))
for ax, col in zip(axes.ravel()[0:], train.columns):
    venn2(
        subsets=(set(train[col].unique()), set(test[col].unique())),
    set_labels=(col, ""), ax=ax
    )
fig.patch.set_facecolor("white")
plt.show(plt.tight_layout())

image