Skip to main content
. Author manuscript; available in PMC: 2024 Aug 1.
Published in final edited form as: J Biomed Inform. 2023 Jul 23;144:104458. doi: 10.1016/j.jbi.2023.104458

Figure 1:

Figure 1:

Architecture for metric learning: the support set is used to generate embeddings using the embedding function f1. The embeddings of the query set, also generated using f1, are compared with the support set embeddings using a suitable distance function f2. Depending upon the task, the label of the most similar (or dissimilar) support set samples is assigned to the query set samples.