ction>
<section id="loss-function">
<h3 id="loss-function">Loss Function<a class="headerlink" href="#loss-function" title="Permalink to this heading">¶</a></h3>
<p>As per the Keras tutorial: <a class="reference external" href="https://keras.io/examples/vision/siamese_contrastive/">Image similarity estimation using a Siamese Network with a contrastive loss</a>, a <strong>contrastive loss</strong> function is used for model training.</p>
<p>The source code for the custom loss function may be found on Github: