init
Browse files
experiments/baseline_oracle.py
CHANGED
@@ -24,7 +24,10 @@ df = pd.DataFrame(cor)
|
|
24 |
df.index = df.pop("relation").values
|
25 |
df = df.sort_index()
|
26 |
df = df.T
|
|
|
|
|
27 |
df['average'] = df.mean(axis=1).round(1)
|
|
|
28 |
print(df.to_markdown())
|
29 |
print(df.to_latex())
|
30 |
df.to_csv("results/oracle.csv")
|
|
|
24 |
df.index = df.pop("relation").values
|
25 |
df = df.sort_index()
|
26 |
df = df.T
|
27 |
+
df = df * 100
|
28 |
+
print(df, df.mean(axis=1).round(1))
|
29 |
df['average'] = df.mean(axis=1).round(1)
|
30 |
+
df = df.round(1)
|
31 |
print(df.to_markdown())
|
32 |
print(df.to_latex())
|
33 |
df.to_csv("results/oracle.csv")
|
experiments/results/oracle.csv
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
,competitor/rival of,friend/ally of,influenced by,known for,similar to,average
|
2 |
-
Avg.\ of others,
|
|
|
1 |
,competitor/rival of,friend/ally of,influenced by,known for,similar to,average
|
2 |
+
Avg.\ of others,75.9,78.0,70.5,82.0,80.2,77.3
|