cb840cb2da9012a3df001889370c131e8ac96498,rankeval/visualization/effectiveness.py,,plot_query_wise_performance,#Any#Any#,291
Before Change
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
axes[i, 0].legend(performance.coords["metric"].values)
axes[i, 0].yaxis.set_ticks(np.arange(0, 1, 0.1))
elif compare == "metics":
fig, axes = plt.subplots(len(performance.coords["metric"].values),
sharex=True, queeze=False)
for j, metric in enumerate(performance.coords["metric"].values):
for i, model in enumerate(performance.coords["model"].values):
k_values = performance.sel(dataset=dataset,
model=model,
metric=metric)
axes[j, 0].plot(k_values.values)
axes[j, 0].set_title(performance.name + " for " +
dataset.name + "and metric " + str(metric))
axes[j, 0].set_ylabel("Number of queries")
axes[j, 0].set_xlabel("Bins")
axes[j, 0].legend(performance.coords["model"].values)
axes[j, 0].yaxis.set_ticks(np.arange(0, 1, 0.1))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: hpclab/rankeval
Commit Name: cb840cb2da9012a3df001889370c131e8ac96498
Time: 2017-07-27
Author: cristina.i.muntean@gmail.com
File Name: rankeval/visualization/effectiveness.py
Class Name:
Method Name: plot_query_wise_performance
Project Name: dPys/PyNets
Commit Name: 6d895c6a1f32c982ca3d75929bd0f303a16746d5
Time: 2018-08-28
Author: dpisner@utexas.edu
File Name: pynets/plotting.py
Class Name:
Method Name: plot_conn_mat
Project Name: calico/basenji
Commit Name: 7768aae1e9badf1825c413d8556c397fa3c87682
Time: 2019-01-03
Author: drk@calicolabs.com
File Name: bin/basenji_sat_plot.py
Class Name:
Method Name: main