<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Classification Performance in Transplantation Medicine</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Myroslav Havryliuk</string-name>
          <email>myroslav.a.havryliuk@lpnu.ua</email>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Nazarii Hovdysh</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yaroslav Tolstyak</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Valentyna Chopyak</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Natalya</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Workshop</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Danylo Halytsky Lviv National Medical University</institution>
          ,
          <addr-line>Pekarska str., 69, Lviv, 79010</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Lviv Polytechnic National University</institution>
          ,
          <addr-line>S. Bandera str., 12, Lviv, 79013</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Lviv Regional Clinical Hospital</institution>
          ,
          <addr-line>Chernihivska str., 7, Lviv, 79010</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Probabilistic neural network</institution>
          ,
          <addr-line>Optimization, Small data, Classification</addr-line>
        </aff>
      </contrib-group>
      <fpage>3</fpage>
      <lpage>10</lpage>
      <abstract>
        <p>The problem of predicting the success of organ transplantation is critical in the field of medicine. The use of a probabilistic neural network is of considerable interest in this context. In this study, the authors compared the speed of work of four popular methods for optimizing the parameter of a probabilistic neural network in the case of analyzing a short medical dataset collected by Lviv Regional Clinical Hospital. All three algorithms have demonstrated efficiency, reaching the optimum performance point. The use of optimizers provided a significant saving of time and computing resources compared to grid search.</p>
      </abstract>
      <kwd-group>
        <kwd>Medicine</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <sec id="sec-1-1">
        <title>Currently, there are no models capable of accurately describing the patient's condition after transplantation. Therefore, the use of methods of intelligent data analysis has gained wide popularity. However, insufficient data is often an obstacle to building adequate machine learning models.</title>
        <p>Classical models of artificial intelligence do not demonstrate sufficient efficiency in the case of
processing small medical datasets. This is due to a number of reasons, the main of which is the problem
of overfitting.</p>
        <p>The use of a probabilistic neural network in such cases can improve performance compared to
traditional models. However, the selection of the optimal network parameter by brute force method
requires a lot of time and computing resources. That is why the use of optimization methods is
appropriate for this task.</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>2. State-of-the-arts</title>
      <p>still needs development.</p>
      <p>
        New approaches to working with small datasets appear every year. However, this area of research
The issue of using a probabilistic neural network for classification problems was analyzed in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
The authors found that the number of studies involving the application of probabilistic neural networks
had increased over the previous five years. Research concerns various fields of medicine, such as
nephrology, cardiology, oncology, pulmonology, endocrinology, neurosurgery, etc. Often use a
combination of probabilistic neural network with other machine learning methods, such as SVM in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ],
[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] and [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], Naive Bayes in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] and [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], K-means in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] and [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
      <p>2023 Copyright for this paper by its authors.
CEUR</p>
      <p>ceur-ws.org</p>
      <p>In the above-mentioned works, the selection of the optimal parameters of the neural network was
carried out using a grid search. Thus, optimizing the parameters of a probabilistic neural network is
relevant.</p>
      <p>The purpose of this study is to compare the performance of three popular methods for optimizing
the parameter of a probabilistic neural network in the case of analyzing a short medical dataset.
2.1.</p>
    </sec>
    <sec id="sec-3">
      <title>Probabilistic Neural Network</title>
      <p>
        A probabilistic neural network is often used to solve a wide range of tasks, including classification
[
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. The training procedure of this neural network is quite simple. The model also has certain
disadvantages, the main one of which is the increase in dimensionality of the structure with the increase
of the sample [12]. Accordingly, the use of a probabilistic neural network can require the allocation of
a large amount of resources.
      </p>
      <p>The work of this neural network in the case of binary classification can be described as follows:
1. Let there be k vectors of class 1 and m vectors of class 2 in the sample. We denote the j-th
component of the i-th vector as X i1, j for class 1 and as X i2, j for class 2. The task of the model is to
classify the input vector X . Therefore, it is necessary to determine the probability that the vector
X belongs to class 1.
2. Canberra distances between the input vector and all sample vectors are calculated:</p>
      <p>X i1, j − X j
n n
Ri1 =  , Ri2 = </p>
      <p>j=1 X i1, j + X j j=1 X i2, j + X j
Gaussian distances are calculated based on the obtained values:</p>
      <p>X i2, j − X j
The probability that the input vector belongs to class 1 is calculated by the formula:
k
 Di1</p>
      <p>Similarly for class 2:
y pred = 0, if max Pc = P1  , c = 1, 2
1, if max Pc = P2 </p>
      <p>k</p>
      <p>So probabilistic neural network predicts a class of the input vector using the following rule:
2.2.</p>
    </sec>
    <sec id="sec-4">
      <title>Optimization problem formulation</title>
      <p>For models that are built using unbalanced datasets, the F1 score is an appropriate measure of
performance [13].</p>
      <p>Let yi, i ∈ 1..N denote belonging to a certain class in the test sample of size N, then yipred, i ∈ 1..N is
the value predicted by the model.</p>
      <p>Precision of the model will be equal to:</p>
      <p>Precision = i=1</p>
      <p>Recall = i=1</p>
      <p>N
 ( y pred * y )</p>
      <p>i i
N
 y pred</p>
      <p>i
i=1
N
 ( y pred * y )
i i
N
 yi
i=1</p>
      <sec id="sec-4-1">
        <title>Accordingly, recall is equal to: According to the definition of the F1-score metric, it can be expressed as follows:</title>
        <p>N N
 ( yipred * yi )  ( yipred * yi )
Thus, the problem of maximizing F1-score can be presented in the following form:
N N
 ( yipred * yi )  ( yipred * yi )
(6)
(7)
(8)
(9)
f 1_ score = 2 *
i=1</p>
        <p>N
 y pred</p>
        <p>i
i=1
i=1
N
 ( y pred * y )</p>
        <p>i i
N
 y pred</p>
        <p>i
i=1
* i=1
+ i=1</p>
        <p>N
 ( y pred * y )
i i
N
 yi
i=1
N
 yi
i=1
2 *
i=1</p>
        <p>N
 y pred</p>
        <p>i
i=1
i=1
N
 ( y pred * y )</p>
        <p>i i
N
 y pred
i
* i=1
+ i=1</p>
        <p>N
 yi
i=1
N
 yi
i=1
N
 ( y pred * y )
i i</p>
        <p>→ max
i=1
with the restrictions 0.001&gt;sigma&gt;10.
2.3.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Methods for solving the optimization task</title>
      <p>We applied three popular optimization algorithms:
• Bayesian optimization
• Differential evolution
• Dual annealing</p>
      <p>These methods do not require the calculation of derivatives and can perform optimization in case
the objective function is a “black box” [14].</p>
      <p>Bayesian optimization uses Gaussian process to model the black-box objective function [15].</p>
      <p>We defined the upper confidence bounds function as acquisition function to balance exploitation
and exploration. Also we used the following optimization parameters:
• number of initial points – 5;
• number of iterations – 10.</p>
      <p>Differential evolution is a stochastic method. It applies the key concepts of genetic algorithms [16].
The first step of the algorithm is to create a generation of candidates that are the objective function
arguments. At each iteration, a new generation is created by mixing with other candidates.</p>
      <p>We applied a “best1bin” strategy for creating trial candidates. According to it:
• the difference between two randomly chosen candidates is used to provide a mutation of the
best member of the population;
• a binomial distribution is applied for recombination.</p>
      <p>We defined following key algorithm parameters:
• population size – 10;
• mutation – [0.5;1);
• recombination – 0.7;
• maximum number of generations – 10.</p>
      <p>Dual annealing is also a stochastic approach. It combines the generalization of Fast Simulated
Annealing and Classical Simulated Annealing coupled to a strategy for carrying out a local search on
accepted locations [17]. This approach describes an advanced method to improve the solution that was
found by the generalized annealing process. A distorted Cauchy-Lorentz visiting distribution is used in
this optimization algorithm.</p>
      <p>We used the following optimization parameters:
• parameter for visiting distribution – 2.62;
• parameter for acceptance distribution – -5.0;
• maximum number of global search iterations – 10.</p>
      <p>For all algorithms, the optimization was performed on the interval σ ∈ [0.00001;10].</p>
    </sec>
    <sec id="sec-6">
      <title>3. Modeling and results 3.1.</title>
    </sec>
    <sec id="sec-7">
      <title>Dataset descriptions</title>
      <p>The imbalanced dataset collected by Lviv Regional Clinical Hospital (Department Hospital
Nephrology and Dialysis) was used in this study. It contains data on 164 patients who received
HLAmatched renal allografts between 1992 and 2020 by 42 attributes (such as age, sex, glucose level, etc.).
Among them, 64 (42.1%) were women and 88 (57.9%) were men. The age of the patients at the time
of transplantation was 32.6 ± 8.7 (in the range of 18–60) years. 152 patients were transplanted for the
first time, 12 (5 women and 7 men) were transplanted again.
3.2.</p>
    </sec>
    <sec id="sec-8">
      <title>Results</title>
      <p>Three optimization algorithms described above were used to optimize the parameter. The
implementation of optimizers from the scipy.optimize and bayesian optimization libraries of the Python
programming language was used. The optimization results are shown in Table 1.</p>
      <sec id="sec-8-1">
        <title>Optimizer</title>
      </sec>
      <sec id="sec-8-2">
        <title>Accuracy</title>
      </sec>
      <sec id="sec-8-3">
        <title>Precision</title>
      </sec>
      <sec id="sec-8-4">
        <title>Recall</title>
        <p>F1 score</p>
      </sec>
    </sec>
    <sec id="sec-9">
      <title>4. Comparison and discussion</title>
      <p>As can be seen, all three optimizers have reached the point from the intervals where the value of
F1score is maximal. The precision value indicates a quite large proportion of false-positive results, while
the recall is 100%.</p>
      <p>All algorithms showed quite good optimization speed. The shortest execution time was
demonstrated by dual annealing. A visualization of the optimization duration can be seen at Fig. 1.</p>
      <p>In terms of the number of evaluations of the objective function, Bayesian optimization is the most
effective (a visualization can be seen at Fig. 2). However, other steps of this algorithm also cause
computational costs, which is reflected in the duration of execution.</p>
      <p>The selection of the optimal value of the parameter was also carried out using a grid search on the
interval σ ∈ [0.00001;10] with a step Δ=0.001. The execution time was 41.852 seconds. The number
of objective function calculations was 10000. As a result of the experiment, it was found that there are
two intervals on which F1 score reaches a maximum of 0.842 (Fig. 3).</p>
      <p>So the use of each of the optimizers provides a significant reduction in execution time and
computational costs, compared to the grid search.</p>
    </sec>
    <sec id="sec-10">
      <title>5. Conclusions</title>
      <p>The problem of predicting the success of organ transplantation is critical in the field of medicine.
The use of a probabilistic neural network is of considerable interest in this context. In this study, the
authors compared the performance of three popular methods for optimizing the parameters of a
probabilistic neural network in the case of analyzing a short set of medical data collected by Lviv
Regional Clinical Hospital. All three algorithms have demonstrated efficiency, reaching the optimum
performance point. The use of optimizers provided a significant saving of time and computing resources
compared to a grid search.</p>
      <p>Further research may concern the optimization of model parameters, where the probabilistic neural
network is used in combination with other machine learning methods.</p>
    </sec>
    <sec id="sec-11">
      <title>6. Acknowledgments</title>
      <p>This research is supported by the EURIZON Fellowship Program: “Remote Research Grants for
Ukrainian Researchers”, grand № 138.</p>
    </sec>
    <sec id="sec-12">
      <title>7. References</title>
      <p>[12] Oleksiv I, et al. Quality of Student Support at IT Educational Programmes: Case of Lviv
Polytechnic National University. In: 2021 11th International Conference on Advanced Computer
Information Technologies (ACIT). 2021. p. 270–5.
[13] Martyn Y, et al. Optimization of Technological’s Processes Industry 4.0 Parameters for Details
Manufacturing via Stamping: Rules of Queuing Systems. Procedia Comput Sci. 2021 Jan
1;191:290–5.
[14] Ganguli C, et al. Adaptive Artificial Bee Colony Algorithm for Nature-Inspired Cyber Defense.</p>
      <p>Systems. 2023 Jan;11(1):27.
[15] Ljaskovska S, et al. Optimization of Parameters of Technological Processes Means of the FlexSim
Simulation Simulation Program. In: 2020 IEEE Third International Conference on Data Stream
Mining &amp; Processing (DSMP). 2020. p. 391–7.
[16] Mochurad L. Optimization of Regression Analysis by Conducting Parallel Calculations. In:
COLINS-2021: 5th International Conference on Computational Linguistics and Intelligent
Systems, April 22–23, 2021, Kharkiv, Ukraine, 982-996 p.
[17] Basystiuk O, et al. Machine Learning Methods and Tools for Facial Recognition Based on
Multimodal Approach. In: Proceedings of the Modern Machine Learning Technologies and Data
Science Workshop (MoMLeT&amp;DS 2023). Lviv, Ukraine, June 3, 2023. CEUR-WS.org, pp.
161170 (2023).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Izonin</surname>
            <given-names>I</given-names>
          </string-name>
          , et al.
          <article-title>Addressing Medical Diagnostics Issues: Essential Aspects of the PNN-based Approach</article-title>
          .
          <source>In: Proceedings of the 3rd International Conference on Informatics &amp; Data-Driven Medicine. Växjö, Sweden, November 19 - 21</source>
          ,
          <year>2020</year>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Izonin</surname>
            <given-names>I</given-names>
          </string-name>
          , et al.
          <article-title>PNN-SVM Approach of Ti-Based Powder's Properties Evaluation for Biomedical Implants Production</article-title>
          .
          <source>Comput Mater Contin</source>
          .
          <year>2022</year>
          ;
          <volume>71</volume>
          (
          <issue>3</issue>
          ):
          <fpage>5933</fpage>
          -
          <lpage>47</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Mochurad</surname>
            <given-names>L</given-names>
          </string-name>
          , et al.
          <article-title>Classification of X-Ray Images of the Chest Using Convolutional Neural Networks</article-title>
          .
          <source>In: Proceedings of the 4th International Conference on Informatics &amp; Data-Driven Medicine. Valencia, Spain, November 19 - 21</source>
          ,
          <year>2021</year>
          .
          <fpage>269</fpage>
          -
          <lpage>282</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Tolstyak</surname>
            <given-names>Y</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Havryliuk</surname>
            <given-names>M.</given-names>
          </string-name>
          <article-title>An Assessment of the Transplant's Survival Level for Recipients after Kidney Transplantations using Cox Proportional-Hazards Model</article-title>
          .
          <source>In: Proceedings of the 5th International Conference on Informatics &amp; Data-Driven Medicine. Lyon, France, November 18 - 20</source>
          , CEUR-WS.org,
          <year>2022</year>
          . pp.
          <fpage>260</fpage>
          -
          <lpage>265</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Tolstyak</surname>
            <given-names>Y</given-names>
          </string-name>
          , et al.
          <source>The Ensembles of Machine Learning Methods for Survival Predicting after Kidney Transplantation. Appl Sci</source>
          .
          <year>2021</year>
          Jan;
          <volume>11</volume>
          (
          <issue>21</issue>
          ):
          <fpage>10380</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Liaskovska</surname>
            <given-names>S</given-names>
          </string-name>
          , et al.
          <article-title>Investigation of Anomalous Situations in the Machine-Building Industry Using Phase Trajectories Method</article-title>
          . In: Hu Z,
          <string-name>
            <surname>Petoukhov</surname>
            <given-names>S</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yanovsky</surname>
            <given-names>F</given-names>
          </string-name>
          ,
          <string-name>
            <surname>He</surname>
            <given-names>M</given-names>
          </string-name>
          , editors.
          <source>Advances in Computer Science for Engineering and Manufacturing</source>
          . Cham: Springer International Publishing;
          <year>2022</year>
          . p.
          <fpage>49</fpage>
          -
          <lpage>59</lpage>
          .
          <source>(Lecture Notes in Networks and Systems).</source>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Basystiuk</surname>
            <given-names>O</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Melnykova</surname>
            <given-names>N.</given-names>
          </string-name>
          <article-title>Multimodal Approaches for Natural Language Processing in Medical Data</article-title>
          .
          <source>In: Proceedings of the 5th International Conference on Informatics &amp; Data-Driven Medicine. Lyon, France, November 18-20</source>
          , CEUR-WS.org, pp.
          <fpage>246</fpage>
          -
          <lpage>252</lpage>
          (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Tolstyak</surname>
            <given-names>Y</given-names>
          </string-name>
          , et al.
          <article-title>An investigation of the primary immunosuppressive therapy's influence on kidney transplant survival at one month after transplantation</article-title>
          .
          <source>Transpl Immunol</source>
          .
          <source>2023 Jun</source>
          <volume>1</volume>
          ;
          <fpage>78</fpage>
          :
          <fpage>101832</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Kotsovsky</surname>
            <given-names>V</given-names>
          </string-name>
          , et al.
          <article-title>On the Size of Weights for Bithreshold Neurons and Networks</article-title>
          .
          <source>In: 2021 IEEE 16th International Conference on Computer Sciences and Information Technologies (CSIT)</source>
          .
          <year>2021</year>
          . p.
          <fpage>13</fpage>
          -
          <lpage>6</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Mochurad</surname>
            <given-names>LI</given-names>
          </string-name>
          .
          <article-title>Canny Edge Detection Analysis Based on Parallel Algorithm, Constructed Complexity Scale and CUDA</article-title>
          .
          <source>Comput Inform</source>
          .
          <source>2022 Nov</source>
          <volume>9</volume>
          ;
          <issue>41</issue>
          (
          <issue>4</issue>
          ):
          <fpage>957</fpage>
          -
          <lpage>80</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Kotsovsky</surname>
            <given-names>V</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Batyuk</surname>
            <given-names>A</given-names>
          </string-name>
          .
          <article-title>Feed-forward Neural Network Classifiers with Bithreshold-like Activations</article-title>
          .
          <source>In: 2022 IEEE 17th International Conference on Computer Sciences and Information Technologies (CSIT)</source>
          .
          <year>2022</year>
          . p.
          <fpage>9</fpage>
          -
          <lpage>12</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>