Skip to main content
. 2020 Nov 23;40(2):2000203. doi: 10.1002/minf.202000203

Figure 2.

Figure 2

Model schematic. To calculate metric loss, we label molecules with anchor, positive, and negative in molecules data set. In this figure, a, p, and n represent anchor, positive, and negative samples, respectively. fx is a latent vector corresponding to the input molecular graph x . The VAE architecture uses the same model as Kajino's MHG‐VAE composed of encoder using Bi‐directional RNN and decoder using RNN. By optimizing the positions of the anchor, positive, and negative latent vectors, VAE latent space M becomes closer to the Chemical space P. D(X,Y) represents the distance between X and Y .