<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20241031//EN"
        "https://jats.nlm.nih.gov/publishing/1.4/JATS-journalpublishing1-4.dtd">
<article  article-type="research-article"        dtd-version="1.4">
            <front>

                <journal-meta>
                                    <journal-id></journal-id>
            <journal-title-group>
                                                                                    <journal-title>Balkan Journal of Electrical and Computer Engineering</journal-title>
            </journal-title-group>
                            <issn pub-type="ppub">2147-284X</issn>
                                        <issn pub-type="epub">2147-284X</issn>
                                                                                            <publisher>
                    <publisher-name>MUSA YILMAZ</publisher-name>
                </publisher>
                    </journal-meta>
                <article-meta>
                                        <article-id pub-id-type="doi">10.17694/bajece.1346818</article-id>
                                                                <article-categories>
                                            <subj-group  xml:lang="en">
                                                            <subject>Software Engineering (Other)</subject>
                                                    </subj-group>
                                            <subj-group  xml:lang="tr">
                                                            <subject>Yazılım Mühendisliği (Diğer)</subject>
                                                    </subj-group>
                                    </article-categories>
                                                                                                                                                        <title-group>
                                                                                                                                                            <article-title>Bayesian Optimization-based CNN Framework for Automated Detection of Brain Tumors</article-title>
                                                                                                    </title-group>
            
                                                    <contrib-group content-type="authors">
                                                                        <contrib contrib-type="author">
                                                                    <contrib-id contrib-id-type="orcid">
                                        https://orcid.org/0000-0001-9182-271X</contrib-id>
                                                                <name>
                                    <surname>Kaya</surname>
                                    <given-names>Mahir</given-names>
                                </name>
                                                                    <aff>Tokat Gaziosmanpaşa Üniversitesi, Bilgisayar Mühendisliği Bölümü</aff>
                                                            </contrib>
                                                                                </contrib-group>
                        
                                        <pub-date pub-type="pub" iso-8601-date="20231222">
                    <day>12</day>
                    <month>22</month>
                    <year>2023</year>
                </pub-date>
                                        <volume>11</volume>
                                        <issue>4</issue>
                                        <fpage>395</fpage>
                                        <lpage>404</lpage>
                        
                        <history>
                                    <date date-type="received" iso-8601-date="20230820">
                        <day>08</day>
                        <month>20</month>
                        <year>2023</year>
                    </date>
                                                    <date date-type="accepted" iso-8601-date="20231004">
                        <day>10</day>
                        <month>04</month>
                        <year>2023</year>
                    </date>
                            </history>
                                        <permissions>
                    <copyright-statement>Copyright © 2013, Balkan Journal of Electrical and Computer Engineering</copyright-statement>
                    <copyright-year>2013</copyright-year>
                    <copyright-holder>Balkan Journal of Electrical and Computer Engineering</copyright-holder>
                </permissions>
            
                                                                                                                        <abstract><p>Brain tumors, capable of yielding fatal outcomes, can now be identified through MRI images. However, their heterogeneous nature introduces challenges and time-consuming aspects to manual detection. This study aims to design the optimal architecture, leveraging Convolutional Neural Networks (CNNs), for the automatic identification of brain tumor types within medical images. CNN architectures frequently face challenges of overfitting during the training phase, mainly attributed to the dual complexities of limited labeled datasets and complex models within the medical domain. The depth and width hyperparameters in these architectures play a crucial role, in determining the extent of learning parameters engaged in the learning process. These parameters, encompassing filter weights, fundamentally shape the performance of the model. In this context, it is quite difficult to manually determine the optimum depth and width hyperparameters due to many combinations. With Bayesian optimization and Gaussian process, we identified models with optimum architecture from hyperparameter combinations. We performed the training process with two different datasets. With the test data of dataset 1, we reached 98.01% accuracy and 98% F1 score values. With the test data of dataset 2, which has more data, 99.62% accuracy and F1 score values were obtained. The models we have derived will prove valuable to clinicians for the purpose of brain tumor detection.</p></abstract>
                                                            
            
                                                                                        <kwd-group>
                                                    <kwd>Deep learning</kwd>
                                                    <kwd>  CNN</kwd>
                                                    <kwd>  Bayesian optimization</kwd>
                                                    <kwd>  Brain tumor.</kwd>
                                            </kwd-group>
                            
                                                                                                                                                    </article-meta>
    </front>
    <back>
                            <ref-list>
                                    <ref id="ref1">
                        <label>1</label>
                        <mixed-citation publication-type="journal">[1]	Siegel, R. L., Miller, K. D., &amp; Jemal, A. (2019). Cancer statistics, 2019. CA: a cancer journal for clinicians, 69(1), 7-34.</mixed-citation>
                    </ref>
                                    <ref id="ref2">
                        <label>2</label>
                        <mixed-citation publication-type="journal">[2]	Bhatele, K. R., &amp; Bhadauria, S. S. (2020). Brain structural disorders detection and classification approaches: a review. Artificial Intelligence Review, 53(5), 3349-3401.</mixed-citation>
                    </ref>
                                    <ref id="ref3">
                        <label>3</label>
                        <mixed-citation publication-type="journal">[3]	Nazir, M., Shakil, S., &amp; Khurshid, K. (2021). Role of deep learning in brain tumor detection and classification (2015 to 2020): A review. Computerized Medical Imaging and Graphics, 91, 101940.</mixed-citation>
                    </ref>
                                    <ref id="ref4">
                        <label>4</label>
                        <mixed-citation publication-type="journal">[4]	Sharif, M. I., Li, J. P., Naz, J., &amp; Rashid, I. (2020). A comprehensive review on multi-organs tumor detection based on machine learning. Pattern Recognition Letters, 131, 30-37.</mixed-citation>
                    </ref>
                                    <ref id="ref5">
                        <label>5</label>
                        <mixed-citation publication-type="journal">[5]	Kaya, M. and Çetin-Kaya, Y. (2021). Seamless computation offloading for mobile applications using an online learning algorithm. Computing, vol. 103, no.5, pp. 771-799.</mixed-citation>
                    </ref>
                                    <ref id="ref6">
                        <label>6</label>
                        <mixed-citation publication-type="journal">[6]	Miao, Y., Wu, G., Li, M., Ghoneim, A., Al-Rakhami, M., &amp; Hossain, M. S. (2020). Intelligent task prediction and computation offloading based on mobile-edge cloud computing. Future Generation Computer Systems, 102, 925-931.</mixed-citation>
                    </ref>
                                    <ref id="ref7">
                        <label>7</label>
                        <mixed-citation publication-type="journal">[7]	Rashed, A. E. E., Elmorsy, A. M., &amp; Atwa, A. E. M. (2023). Comparative evaluation of automated machine learning techniques for breast cancer diagnosis. Biomedical Signal Processing and Control, 86, 105016.</mixed-citation>
                    </ref>
                                    <ref id="ref8">
                        <label>8</label>
                        <mixed-citation publication-type="journal">[8]	LeCun, Y., Bengio, Y., &amp; Hinton, G. (2015). Deep learning. nature, 521(7553), 436-444.</mixed-citation>
                    </ref>
                                    <ref id="ref9">
                        <label>9</label>
                        <mixed-citation publication-type="journal">[9]	Alzubaidi, L., Zhang, J., Humaidi, A.J., Al-Dujaili, A., Duan, Y., Al-Shamma, O., Santamaría, J., Fadhel, M.A., Al-Amidie, M. and Farhan, L., (2021). Review of deep learning: Concepts, CNN architectures, challenges, applications, future directions. Journal of big Data, 8(1), pp.1-74.</mixed-citation>
                    </ref>
                                    <ref id="ref10">
                        <label>10</label>
                        <mixed-citation publication-type="journal">[10]	Mehnatkesh, H., Jalali, S. M. J., Khosravi, A., &amp; Nahavandi, S. (2023). An intelligent driven deep residual learning framework for brain tumor classification using MRI images. Expert Systems with Applications, 213, 119087.</mixed-citation>
                    </ref>
                                    <ref id="ref11">
                        <label>11</label>
                        <mixed-citation publication-type="journal">[11]	Liu, Z., Tong, L., Chen, L., Jiang, Z., Zhou, F., Zhang, Q., ... &amp; Zhou, H. (2023). Deep learning based brain tumor segmentation: a survey. Complex &amp; intelligent systems, 9(1), 1001-1026.</mixed-citation>
                    </ref>
                                    <ref id="ref12">
                        <label>12</label>
                        <mixed-citation publication-type="journal">[12]	Krizhevsky, A., Sutskever I. and Hinton G. E. (2012). ImageNet classification with deep convolutional neural networks,&quot; Proc - Neural Information Processing System Conference, pp. 1-9.</mixed-citation>
                    </ref>
                                    <ref id="ref13">
                        <label>13</label>
                        <mixed-citation publication-type="journal">[13]	Toğaçar, M., Ergen, B., &amp; Cömert, Z. (2020). BrainMRNet: Brain tumor detection using magnetic resonance images with a novel convolutional neural network model. Medical hypotheses, 134, 109531.</mixed-citation>
                    </ref>
                                    <ref id="ref14">
                        <label>14</label>
                        <mixed-citation publication-type="journal">[14]	Toğaçar, M., Cömert, Z., &amp; Ergen, B. (2020). Classification of brain MRI using hyper column technique with convolutional neural network and feature selection method. Expert Systems with Applications, 149, 113274.</mixed-citation>
                    </ref>
                                    <ref id="ref15">
                        <label>15</label>
                        <mixed-citation publication-type="journal">[15]	Balamurugan, T., &amp; Gnanamanoharan, E. (2023). Brain tumor segmentation and classification using hybrid deep CNN with LuNetClassifier. Neural Computing and Applications, 35(6), 4739-4753.</mixed-citation>
                    </ref>
                                    <ref id="ref16">
                        <label>16</label>
                        <mixed-citation publication-type="journal">[16]	Deepak, S., &amp; Ameer, P. M. (2019). Brain tumor classification using deep CNN features via transfer learning. Computers in biology and medicine, 111, 103345.</mixed-citation>
                    </ref>
                                    <ref id="ref17">
                        <label>17</label>
                        <mixed-citation publication-type="journal">[17]	Başaran, E. (2022). A new brain tumor diagnostic model: Selection of textural feature extraction algorithms and convolution neural network features with optimization algorithms. Computers in Biology and Medicine, 148, 105857.</mixed-citation>
                    </ref>
                                    <ref id="ref18">
                        <label>18</label>
                        <mixed-citation publication-type="journal">[18]	Ayadi, W., Elhamzi, W., Charfi, I., &amp; Atri, M. (2021). Deep CNN for brain tumor classification. Neural processing letters, 53, 671-700.</mixed-citation>
                    </ref>
                                    <ref id="ref19">
                        <label>19</label>
                        <mixed-citation publication-type="journal">[19]	Ait Amou, M., Xia, K., Kamhi, S., &amp; Mouhafid, M. (2022). A Novel MRI Diagnosis Method for Brain Tumor Classification Based on CNN and Bayesian Optimization. In Healthcare (Vol. 10, No. 3, p. 494). MDPI.</mixed-citation>
                    </ref>
                                    <ref id="ref20">
                        <label>20</label>
                        <mixed-citation publication-type="journal">[20]	Alhassan, A. M., &amp; Zainon, W. M. N. W. (2021). Brain tumor classification in magnetic resonance image using hard swish-based RELU activation function-convolutional neural network. Neural Computing and Applications, 33, 9075-9087.</mixed-citation>
                    </ref>
                                    <ref id="ref21">
                        <label>21</label>
                        <mixed-citation publication-type="journal">[21]	Aurna, N. F., Yousuf, M. A., Taher, K. A., Azad, A. K. M., &amp; Moni, M. A. (2022). A classification of MRI brain tumor based on two stage feature level ensemble of deep CNN models. Computers in biology and medicine, 146, 105539.</mixed-citation>
                    </ref>
                                    <ref id="ref22">
                        <label>22</label>
                        <mixed-citation publication-type="journal">[22]	Kazemi, A., Shiri, M. E., &amp; Sheikhahmadi, A. (2022). Classifying tumor brain images using parallel deep learning algorithms. Computers in Biology and Medicine, 148, 105775.</mixed-citation>
                    </ref>
                                    <ref id="ref23">
                        <label>23</label>
                        <mixed-citation publication-type="journal">[23]	Gómez-Guzmán, M.A., Jiménez-Beristain, L., García-Guerrero, E.E., López-Bonilla, O.R., Tamayo-Pérez, U.J., Esqueda-Elizondo, J.J., Palomino-Vizcaino, K. &amp; Inzunza-González, E. (2023). Classifying brain tumors on magnetic resonance imaging by using convolutional neural networks. Electronics, 12, 955.</mixed-citation>
                    </ref>
                                    <ref id="ref24">
                        <label>24</label>
                        <mixed-citation publication-type="journal">[24]	Türkoğlu, M. (2021). Brain Tumor Detection using a combination of Bayesian optimization based SVM classifier and fine-tuned based deep features. Avrupa Bilim ve Teknoloji Dergisi, (27), 251-258.</mixed-citation>
                    </ref>
                                    <ref id="ref25">
                        <label>25</label>
                        <mixed-citation publication-type="journal">[25]	Mondal, A., &amp; Shrivastava, V. K. (2022). A novel Parametric Flatten-p Mish activation function based deep CNN model for brain tumor classification. Computers in Biology and Medicine, 150, 106183.</mixed-citation>
                    </ref>
                                    <ref id="ref26">
                        <label>26</label>
                        <mixed-citation publication-type="journal">[26]	Saurav, S., Sharma, A., Saini, R., &amp; Singh, S. (2023). An attention-guided convolutional neural network for automated classification of brain tumor from MRI. Neural Computing and Applications, 35(3), 2541-2560.</mixed-citation>
                    </ref>
                                    <ref id="ref27">
                        <label>27</label>
                        <mixed-citation publication-type="journal">[27]	Turk, O., Ozhan, D., Acar, E., Akinci, T. C., &amp; Yilmaz, M. (2022). Automatic detection of brain tumors with the aid of ensemble deep learning architectures and class activation map indicators by employing magnetic resonance images. Zeitschrift für Medizinische Physik. https://doi.org/10.1016/j.zemedi.2022.11.010</mixed-citation>
                    </ref>
                                    <ref id="ref28">
                        <label>28</label>
                        <mixed-citation publication-type="journal">[28]	Alanazi, M.F.; Ali, M.U.; Hussain, S.J.; Zafar, A.; Mohatram, M.; Irfan, M.; Albarrak, A.M. (2022). Brain tumor/mass classification ramework using magnetic-resonance-imaging-based isolated and developed transfer deep-learning model. Sensors, 22, 372</mixed-citation>
                    </ref>
                                    <ref id="ref29">
                        <label>29</label>
                        <mixed-citation publication-type="journal">[29]	Kang, J., Ullah, Z., &amp; Gwak, J. (2021). Mri-based brain tumor classification using ensemble of deep features and machine learning classifiers. Sensors, 21(6), 2222.</mixed-citation>
                    </ref>
                                    <ref id="ref30">
                        <label>30</label>
                        <mixed-citation publication-type="journal">[30]	Nergiz, M. (2023). Classification of Precancerous Colorectal Lesions via ConvNeXt on Histopathological Images. Balkan Journal of Electrical and Computer Engineering, 11(2), 129-137.</mixed-citation>
                    </ref>
                                    <ref id="ref31">
                        <label>31</label>
                        <mixed-citation publication-type="journal">[31]	Sartaj Bhuvaji, Brain tumor classifcation (MRI). https://www.kaggle.com/sartajbhuvaji/brain-tumor-classifcation-mri, 2020. (Accessed 1 Jan 2023).</mixed-citation>
                    </ref>
                                    <ref id="ref32">
                        <label>32</label>
                        <mixed-citation publication-type="journal">[32]	Masoud Nickparvar, Brain Tumor MRI Dataset. https://www.kaggle.com/datasets/masoudnickparvar/brain-tumor-mri-dataset?select=Training (Accessed 5 Jan 2023).</mixed-citation>
                    </ref>
                                    <ref id="ref33">
                        <label>33</label>
                        <mixed-citation publication-type="journal">[33]	Fernandes, V., Junior, G. B., de Paiva, A. C., Silva, A. C., &amp; Gattass, M. (2021). Bayesian convolutional neural network estimation for pediatric pneumonia detection and diagnosis. Computer Methods and Programs in Biomedicine, 208, 106259.</mixed-citation>
                    </ref>
                                    <ref id="ref34">
                        <label>34</label>
                        <mixed-citation publication-type="journal">[34]	Pelikan, M., Goldberg, D. E., &amp; Cantú-Paz, E. (1999). BOA: The Bayesian optimization algorithm. In Proceedings of the genetic and evolutionary computation conference GECCO-99 (Vol. 1, No. 1999).</mixed-citation>
                    </ref>
                                    <ref id="ref35">
                        <label>35</label>
                        <mixed-citation publication-type="journal">[35]	Brochu, E., Cora, V. M., &amp; De Freitas, N. (2010). A tutorial on Bayesian optimization of expensive cost functions, with application to active user modeling and hierarchical reinforcement learning. arXiv preprint arXiv:1012.2599.</mixed-citation>
                    </ref>
                                    <ref id="ref36">
                        <label>36</label>
                        <mixed-citation publication-type="journal">[36]	Bergstra, J., Bardenet, R., Bengio, Y., &amp; Kégl, B. (2011). Algorithms for hyper-parameter optimization. Advances in neural information processing systems, 24.</mixed-citation>
                    </ref>
                                    <ref id="ref37">
                        <label>37</label>
                        <mixed-citation publication-type="journal">[37]	Frazier, P. I. (2018). A tutorial on Bayesian optimization. arXiv preprint arXiv:1807.02811.</mixed-citation>
                    </ref>
                                    <ref id="ref38">
                        <label>38</label>
                        <mixed-citation publication-type="journal">[38]	Kaya, M., Ulutürk, S., Çetin Kaya, Y., Altıntaş, O., &amp; Turan, B. (2023). Optimization of Several Deep CNN Models for Waste Classification. Ahmet ZENGIN, Sakarya University, Türkiye, azengin@ sakarya. edu. tr, 6(2), 91.</mixed-citation>
                    </ref>
                                    <ref id="ref39">
                        <label>39</label>
                        <mixed-citation publication-type="journal">[39]	Koukoulas, S., &amp; Blackburn, G. A. (2001). Introducing new indices for accuracy evaluation of classified images representing semi-natural woodland environments. Photogrammetric Engineering and Remote Sensing, 67(4), 499-510.</mixed-citation>
                    </ref>
                            </ref-list>
                    </back>
    </article>
