<?xml version="1.0" encoding="UTF-8"?>
<article article-type="Research Article">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher">journal-of-interdisciplinary-mathematics</journal-id>
      <journal-title-group>
        <journal-title>Journal of Interdisciplinary Mathematics</journal-title>
      </journal-title-group>
      <issn publication-format="electronic">2169-012X</issn>
      <issn publication-format="print">0972-0502</issn>
      <publisher>
        <publisher-name>Taru Publications</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.47974/JIM-2348</article-id>
      <title-group>
        <article-title>A structured mathematical approach to improving gastrointestinal disease classification with transfer learning</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <name>
            <surname>Sharma</surname>
            <given-names>Rakesh</given-names>
          </name>
          <aff>Department of Computer Science and Engineering, Manipal University Jaipur, Jaipur, Rajasthan, India</aff>
        </contrib>
        <contrib contrib-type="author" corresp="yes">
          <name>
            <surname>Lamba</surname>
            <given-names>C. S.</given-names>
          </name>
          <aff>Department of Computer Science and Engineering, Manipal University Jaipur, Jaipur, Rajasthan, India</aff>
        </contrib>
      </contrib-group>
      <volume>28</volume>
      <issue>6</issue>
      <fpage>2071</fpage>
      <lpage>2078</lpage>
      <pub-date date-type="pub">
        <day>30</day>
        <month>09</month>
        <year>2025</year>
      </pub-date>
      <abstract>
        <p>The integration of AI into medical diagnostics has transformed the detection of gastrointestinal diseases. In this study, we develop a clear mathematical framework for classifying multiple GI conditions. We extend the GastroVision dataset by adding three specific classes—Inflammatory Conditions, Neoplastic Growths and Interventional Findings—and employ three state-of-the-art transfer-learning models (EfficientNetV2, Vision Transformer and Swin Transformer). Outputs from these models are combined using a stacking ensemble; we apply standard data-augmentation techniques and systematically tune each model’s parameters to maximize performance. Our ensemble achieved an overall accuracy of 94.8%, with precision at 92.3%, recall at 93.7% and an F1-score of 93.0%, exceeding current benchmarks. Performance was strong across all categories, with the highest accuracy of 96.1% on Neoplastic Growths. These results demonstrate both the mathematical soundness and practical value of our approach. By linking rigorous model development to clinical applications, this work provides a reliable, extensible framework for deploying AI in complex diagnostic settings and has the potential to improve patient outcomes.</p>
      </abstract>
      <kwd-group>
        <kwd>Gastrointestinal disease detection</kwd>
        <kwd>Transfer learning</kwd>
        <kwd>Ensemble learning</kwd>
        <kwd>Mathematical optimization</kwd>
        <kwd>Vision transformers (ViT) Swin transformers</kwd>
      </kwd-group>
      <custom-meta-group>
        <custom-meta>
          <meta-name>access</meta-name>
          <meta-value>open</meta-value>
        </custom-meta>
        <custom-meta>
          <meta-name>retracted</meta-name>
          <meta-value>no</meta-value>
        </custom-meta>
      </custom-meta-group>
    </article-meta>
  </front>
</article>
