Commit d0f4a019 authored by Janez K's avatar Janez K

bugfix

parent 049fcb0f
......@@ -144,6 +144,11 @@ def pr_space_view(request,input_dict,output_dict,widget):
return render(request, 'visualizations/pr_space.html',{'widget':widget,'input_dict':input_dict,'output_dict':output_dict})
def eval_bar_chart_view(request,input_dict,output_dict,widget):
for i in input_dict['eval_results']:
try:
i['accuracy'] = i['accuracy']*100
except:
pass
return render(request, 'visualizations/eval_bar_chart.html',{'widget':widget,'input_dict':input_dict,'output_dict':output_dict})
def eval_to_table_view(request,input_dict,output_dict,widget):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment