Skip to content

Commit

Permalink
adding last modifications from Tanguy
Browse files Browse the repository at this point in the history
  • Loading branch information
jchiquet committed Mar 26, 2024
1 parent b4fa29f commit ba191d3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions published-202402-lefort-peerannot.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -744,9 +744,13 @@ for res in dir_results.glob("modellabelme/*"):
ece.append(dd["test_ece"])
results = pd.DataFrame(list(zip(meth, accuracy, ece)),
columns=["method", "AccTest", "ECE"])
results["method"] = [
"NS", "CoNAL[scale=0]", "CrowdLayer", "CoNAL[scale=1e-4]", "MV", "DS", "GLAD"
]
transform = {"naivesoft": "NS",
"conal[scale=0]": "CoNAL[scale=0]",
"crowdlayer": "CrowdLayer",
"conal[scale=1e-4]": "CoNAL[scale=1e-4]",
"mv": "MV", "ds": "DS",
"glad": "GLAD"}
results = results.replace({"method":transform})
results = results.sort_values(by="AccTest", ascending=True)
results.reset_index(drop=True, inplace=True)
results = results.style.set_table_styles([dict(selector='th', props=[
Expand Down

0 comments on commit ba191d3

Please sign in to comment.