blob: aa84fee4d4bc4704958c5a55163efc041e663dbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
%p
= link_to "New prediction", "/predict"
.predictions
%table
%tr
%th
%img{:src => @compound.image_uri, :alt => @compound.smiles}
%br= @identifier
- @predictions.each do |p|
%td
%b
= p[:title] + ":"
= p[:prediction]
%br
Confidence:
= p[:confidence]
|