Figure 1:
Flow diagram of the scoring function of TriModel applied to polypharmacy side-effects drug combinations. The subject (s), and the object (o) represent the drug combination while their corresponding polypharmacy side-effect is represented as the relation (r). All these components are represented using three embedding vectors of size k. The score of a triple (s, p, o) is defined as f (s, p, o) = �k ck , where c = i1 + i2 + i3, i1 = s1 · r1 · o3, i2 = s2 · r2 · o2, and i3 = s3 · r3 · o1.