axes[j].set_xlabel("Bins")
axes[j].legend(performance.coords["model"].values)
axes[j].yaxis.set_ticks(np.arange(0, 1, 0.1))
plt.tight_layout()
def plot_document_graded_relevance(performance):
for dataset in performance.coords["dataset"].values:
After Change
if compare not in ["models", "metrics"]:
raise RuntimeError("Please select compare method from ["models", "metrics"]")
fig_list = []
for dataset in performance.coords["dataset"].values:
if compare == "models":
fig, axes = plt.subplots(len(performance.coords["model"].values),