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 2:

Figure 2:

Architecture for matching networks: a small support set contains some instances with their labels (one instance per label in the figure). Given a query, the goal is to calculate a value that indicates if the instance is an example of a given class. For a similarity metric, two embedding functions, f() and g(), need to take similarity based on the feature space. The function f(), which is a neural network, is applied first, and then the embedding function g() is applied to each instance to process the kernel for each support set. (Note: example uses the DASH 2020 Drug Data [18]).