<?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>kfbd</journal-id>
            <journal-title-group>
                                                                                    <journal-title>Karadeniz Fen Bilimleri Dergisi</journal-title>
            </journal-title-group>
                                        <issn pub-type="epub">2564-7377</issn>
                                                                                            <publisher>
                    <publisher-name>Giresun University</publisher-name>
                </publisher>
                    </journal-meta>
                <article-meta>
                                        <article-id pub-id-type="doi">10.31466/kfbd.1536270</article-id>
                                                                <article-categories>
                                            <subj-group  xml:lang="en">
                                                            <subject>Computer Software</subject>
                                                            <subject>Software Engineering (Other)</subject>
                                                    </subj-group>
                                            <subj-group  xml:lang="tr">
                                                            <subject>Bilgisayar Yazılımı</subject>
                                                            <subject>Yazılım Mühendisliği (Diğer)</subject>
                                                    </subj-group>
                                    </article-categories>
                                                                                                                                                        <title-group>
                                                                                                                        <trans-title-group xml:lang="en">
                                    <trans-title>Examining the Effect of Text Representation Methods on Classification Performance in Sentiment Analysis Based on Machine Learning and Deep Learning</trans-title>
                                </trans-title-group>
                                                                                                                                                                                                <article-title>Makine Öğrenmesi ve Derin Öğrenmeye Dayalı Duygu Analizinde Metin Temsil Yöntemlerinin Sınıflandırma Başarımına Etkisinin İncelenmesi</article-title>
                                                                                                    </title-group>
            
                                                    <contrib-group content-type="authors">
                                                                        <contrib contrib-type="author">
                                                                    <contrib-id contrib-id-type="orcid">
                                        https://orcid.org/0009-0000-8418-6778</contrib-id>
                                                                <name>
                                    <surname>Kahraman</surname>
                                    <given-names>Aleyna</given-names>
                                </name>
                                                                    <aff>ONDOKUZ MAYIS ÜNİVERSİTESİ</aff>
                                                            </contrib>
                                                    <contrib contrib-type="author">
                                                                    <contrib-id contrib-id-type="orcid">
                                        https://orcid.org/0000-0002-0831-7825</contrib-id>
                                                                <name>
                                    <surname>Şahin</surname>
                                    <given-names>Durmuş Özkan</given-names>
                                </name>
                                                                    <aff>ONDOKUZ MAYIS ÜNİVERSİTESİ</aff>
                                                            </contrib>
                                                    <contrib contrib-type="author">
                                                                    <contrib-id contrib-id-type="orcid">
                                        https://orcid.org/0009-0001-4474-9588</contrib-id>
                                                                <name>
                                    <surname>Bıyıklı</surname>
                                    <given-names>Dilara</given-names>
                                </name>
                                                                    <aff>ONDOKUZ MAYIS ÜNİVERSİTESİ</aff>
                                                            </contrib>
                                                    <contrib contrib-type="author">
                                                                    <contrib-id contrib-id-type="orcid">
                                        https://orcid.org/0009-0003-2344-7657</contrib-id>
                                                                <name>
                                    <surname>Aytekin</surname>
                                    <given-names>Feyzanur</given-names>
                                </name>
                                                                    <aff>ONDOKUZ MAYIS ÜNİVERSİTESİ</aff>
                                                            </contrib>
                                                    <contrib contrib-type="author">
                                                                    <contrib-id contrib-id-type="orcid">
                                        https://orcid.org/0009-0003-9715-9922</contrib-id>
                                                                <name>
                                    <surname>Darga</surname>
                                    <given-names>Hasan Basri</given-names>
                                </name>
                                                                    <aff>ONDOKUZ MAYIS ÜNİVERSİTESİ</aff>
                                                            </contrib>
                                                                                </contrib-group>
                        
                                        <pub-date pub-type="pub" iso-8601-date="20250615">
                    <day>06</day>
                    <month>15</month>
                    <year>2025</year>
                </pub-date>
                                        <volume>15</volume>
                                        <issue>2</issue>
                                        <fpage>923</fpage>
                                        <lpage>959</lpage>
                        
                        <history>
                                    <date date-type="received" iso-8601-date="20240820">
                        <day>08</day>
                        <month>20</month>
                        <year>2024</year>
                    </date>
                                                    <date date-type="accepted" iso-8601-date="20250313">
                        <day>03</day>
                        <month>13</month>
                        <year>2025</year>
                    </date>
                            </history>
                                        <permissions>
                    <copyright-statement>Copyright © 2010, The Black Sea Journal of Sciences</copyright-statement>
                    <copyright-year>2010</copyright-year>
                    <copyright-holder>The Black Sea Journal of Sciences</copyright-holder>
                </permissions>
            
                                                                                                <trans-abstract xml:lang="en">
                            <p>In this study, binary and multi-class classification were performed on two different datasets using various text representation methods in conjunction with multiple machine learning and deep learning algorithms. The text representation methods employed include TF-IDF, GloVe, Word2Vec, FastText, and Bag of Words. The machine learning algorithms applied were Naive Bayes, Lojistik Regresyon, Support Vector Machines, Random Forest, Artificial Neural Networks, K-Nearest Neighbors, Decision Trees, XGBoost, and LightGBM. For deep learning algorithms, Convolutional Neural Networks, Recurrent Neural Networks, and Long Short-Term Memory were utilized. The performance of the text representation methods and algorithms was compared based on the results obtained. In the Amazon dataset, the highest accuracy among the machine learning methods was achieved by the LightGBM algorithm. Among the deep learning methods, the LSTM algorithm using TF-IDF and FastText achieved the highest accuracy. In the IMDb dataset, the Lojistik Regresyon algorithm provided the highest accuracy among the machine learning methods, while the LSTM algorithm using FastText achieved the highest accuracy among the deep learning methods.</p></trans-abstract>
                                                                                                                                    <abstract><p>Bu çalışmada, iki farklı veri seti üzerinde çeşitli metin temsil yöntemleri kullanılarak ikili ve üçlü sınıflandırma işlemleri gerçekleştirilmiştir. Metin temsil yöntemleri olarak TF-IDF, GloVe, Word2Vec, FastText ve Bag of Words kullanılmıştır. Makine öğrenimi algoritmalarından Naive Bayes, Lojistik Regresyon, Destek Vektör Makineleri, Rastgele Orman, Yapay Sinir Ağı, En Yakın Komşu Algoritması, Karar Ağacı, XGBoost ve LightGBM uygulanmıştır. Derin öğrenme algoritmaları olarak ise Evrişimli Sinir Ağı, Tekrarlayan Sinir Ağı ve Uzun Kısa Süreli Bellek kullanılmıştır. Elde edilen sonuçlarla, kullanılan metin temsil yöntemleri ve algoritmaların performansları karşılaştırılmıştır.  Amazon veri setinde, makine öğrenimi yöntemleri arasında en yüksek doğruluk oranı LightGBM algoritması, derin öğrenme yöntemleri arasında ise TF-IDF ve FastText kullanan LSTM algoritması tarafından elde edilmiştir. IMDb veri setinde, makine öğrenimi yöntemleri arasında en yüksek doğruluk oranı Lojistik Regresyon algoritması, derin öğrenme yöntemleri arasında ise FastText kullanan LSTM algoritması tarafından elde edilmiştir.</p></abstract>
                                                            
            
                                                                                        <kwd-group>
                                                    <kwd>Makine öğrenimi</kwd>
                                                    <kwd>  Derin öğrenme</kwd>
                                                    <kwd>  Duygu analizi</kwd>
                                                    <kwd>  Metin temsil yöntemleri</kwd>
                                                    <kwd>  Doğal dil işleme</kwd>
                                                    <kwd>  Metin sınıflandırma</kwd>
                                            </kwd-group>
                            
                                                <kwd-group xml:lang="en">
                                                    <kwd>Machine learning</kwd>
                                                    <kwd>  Deep learning</kwd>
                                                    <kwd>  Sentiment analysis</kwd>
                                                    <kwd>  Text representation methods</kwd>
                                                    <kwd>  Natural language processing</kwd>
                                                    <kwd>  Text classification</kwd>
                                            </kwd-group>
                                                                                                                                        </article-meta>
    </front>
    <back>
                            <ref-list>
                                    <ref id="ref1">
                        <label>1</label>
                        <mixed-citation publication-type="journal">Aydın, Z. E., Ozturk, Z. K., &amp; Cıcek, Z. I. E. (2021). Turkish sentiment analysis 	for open and distance education systems. Turkish Online Journal of Distance Education, 22(3), 124-138.</mixed-citation>
                    </ref>
                                    <ref id="ref2">
                        <label>2</label>
                        <mixed-citation publication-type="journal">Başarslan, M. S., &amp; Kayaalp, F. (2023). Sentiment analysis with ensemble and machine learning methods in multi-domain datasets. Turkish Journal of  Engineering, 7(2), 141-148.</mixed-citation>
                    </ref>
                                    <ref id="ref3">
                        <label>3</label>
                        <mixed-citation publication-type="journal">Bhasin, A., &amp; Das, S. (2021, May). Twitter sentiment analysis using Machine Learning and Hadoop: A comparative study. In 2021 2nd International Conference on Secure Cyber Computing and Communications (ICSCCC) (pp. 267-272). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref4">
                        <label>4</label>
                        <mixed-citation publication-type="journal">Can, U., &amp; Alatas, B. (2017). Duygu analizi ve fikir madenciliği algoritmalarının incelenmesi. International Journal of Pure and Applied Sciences, 3(1), 75-111.</mixed-citation>
                    </ref>
                                    <ref id="ref5">
                        <label>5</label>
                        <mixed-citation publication-type="journal">Chandra, Y., &amp; Jana, A. (2020, March). Sentiment analysis using machine learning and deep learning. In 2020 7th international conference on computing for sustainable global development (INDIACom) (pp. 1-4). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref6">
                        <label>6</label>
                        <mixed-citation publication-type="journal">Chen, L. C., Lee, C. M., &amp; Chen, M. Y. (2020). Exploration of social media for sentiment analysis using deep learning. Soft Computing, 24(11), 8187-8197.</mixed-citation>
                    </ref>
                                    <ref id="ref7">
                        <label>7</label>
                        <mixed-citation publication-type="journal">Dhariwal, N., Akunuri, S. C., &amp; Banu, K. S. (2023). Audio and Text Sentiment Analysis of Radio Broadcasts. IEEE Access, 11, 126900-126916.</mixed-citation>
                    </ref>
                                    <ref id="ref8">
                        <label>8</label>
                        <mixed-citation publication-type="journal">Demir, E., &amp; Bilgin, M. (2023, September). Sentiment Analysis from Turkish News Texts with BERT-Based Language Models and Machine Learning Algorithms. In 2023 8th International Conference on Computer Science and Engineering (UBMK) (pp. 01-04). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref9">
                        <label>9</label>
                        <mixed-citation publication-type="journal">Fu, X., Yang, J., Li, J., Fang, M., &amp; Wang, H. (2018). Lexicon-enhanced LSTM with attention for general sentiment analysis. IEEE Access, 6, 71884-71891.</mixed-citation>
                    </ref>
                                    <ref id="ref10">
                        <label>10</label>
                        <mixed-citation publication-type="journal">Hammad, M., &amp; Anwar, H. (2019, November). Sentiment analysis of sindhi tweets dataset using supervised machine learning techniques. In 2019 22nd International Multitopic Conference (INMIC) (pp. 1-6). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref11">
                        <label>11</label>
                        <mixed-citation publication-type="journal">Hassan, S. M., Khan, J., Khan, M. A., Khan, M. S., Ahmad, I., &amp; Khan, M.(2021). Detecting COVID-19 Pandemic Using Sentiment Analysis of Tweets. Artificial Intelligence Theory and Applications, 1(2), 39-47.</mixed-citation>
                    </ref>
                                    <ref id="ref12">
                        <label>12</label>
                        <mixed-citation publication-type="journal">He, H., Zhou, G., &amp; Zhao, S. (2022). Exploring E-commerce product experience based on fusion sentiment analysis method. IEEE Access, 10, 110248-110260.</mixed-citation>
                    </ref>
                                    <ref id="ref13">
                        <label>13</label>
                        <mixed-citation publication-type="journal">Jagadeesan, M., Saravanan, T. M., Selvaraj, P. A., Ali, U. A., Arunsivaraj, J., &amp; Balasubramanian, S. (2022, December). Twitter Sentiment Analysis with Machine Learning. In 2022 International Conference on Automation, Computing and Renewable Systems (ICACRS) (pp. 681-686). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref14">
                        <label>14</label>
                        <mixed-citation publication-type="journal">Jayakody, J. P. U. S. D., &amp; Kumara, B. T. G. S. (2021, December). Sentiment analysis on product reviews on twitter using Machine Learning Approaches. In 2021 International Conference on Decision Aid Sciences and Application (DASA) (pp. 1056-1061). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref15">
                        <label>15</label>
                        <mixed-citation publication-type="journal">Joshi, V., Patel, S., Agarwal, R., &amp; Arora, H. (2023, March). Sentiments Analysis using Machine Learning Algorithms. In 2023 Second International Conference on Electronics and Renewable Systems (ICEARS) (pp. 1425-1429). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref16">
                        <label>16</label>
                        <mixed-citation publication-type="journal">Karayiğit, H., Acı, Ç., &amp; Akdağlı, A. (2018). A Review of Turkish Sentiment Analysis and Opinion Mining. Balkan Journal of Electrical and Computer Engineering, 6(2), 94-98.</mixed-citation>
                    </ref>
                                    <ref id="ref17">
                        <label>17</label>
                        <mixed-citation publication-type="journal">Kim, R. Y. (2021). Using online reviews for customer sentiment analysis. IEEE Engineering Management Review, 49(4), 162-168.</mixed-citation>
                    </ref>
                                    <ref id="ref18">
                        <label>18</label>
                        <mixed-citation publication-type="journal">Kemaloğlu, N., Küçüksille, E., &amp; Özgünsür, M. (2021). Turkish sentiment analysis on social media. Sakarya University Journal of Science, 25(3), 629-638.</mixed-citation>
                    </ref>
                                    <ref id="ref19">
                        <label>19</label>
                        <mixed-citation publication-type="journal">Li, Z., Li, R., &amp; Jin, G. (2020). Sentiment analysis of danmaku videos based on naïve bayes and sentiment dictionary. IEEE Access, 8, 75073-75084.</mixed-citation>
                    </ref>
                                    <ref id="ref20">
                        <label>20</label>
                        <mixed-citation publication-type="journal">Liu, H., Chen, X., &amp; Liu, X. (2022). A study of the application of weight distributing method combining sentiment dictionary and TF-IDF for text sentiment analysis. IEEE Access, 10, 32280-32289.</mixed-citation>
                    </ref>
                                    <ref id="ref21">
                        <label>21</label>
                        <mixed-citation publication-type="journal">Onan, A. (2018). Sentiment analysis on Twitter based on ensemble of psychological and linguistic feature sets. Balkan Journal of Electrical and Computer Engineering, 6(2), 69-77.</mixed-citation>
                    </ref>
                                    <ref id="ref22">
                        <label>22</label>
                        <mixed-citation publication-type="journal">Öğe, B. C., &amp; Kayaalp, F. (2021). Farklı Sınıflandırma Algoritmaları ve Metin Temsil Yöntemlerinin Duygu Analizinde Performans Karşılaştırılması. Düzce Üniversitesi Bilim ve Teknoloji Dergisi, 9(6), 406-416.</mixed-citation>
                    </ref>
                                    <ref id="ref23">
                        <label>23</label>
                        <mixed-citation publication-type="journal">Pandya, V., Somthankar, A., Shrivastava, S. S., &amp; Patil, M. (2021, December). Twitter sentiment analysis using machine learning and deep learning techniques. In 2021 2nd International Conference on Communication, Computing and Industry 4.0 (C2I4) (pp. 1-5). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref24">
                        <label>24</label>
                        <mixed-citation publication-type="journal">Patil, R., Boit, S., Gudivada, V., &amp; Nandigam, J. (2023). A survey of text representation and embedding techniques in nlp. IEEE Access, 11, 36120-36146.</mixed-citation>
                    </ref>
                                    <ref id="ref25">
                        <label>25</label>
                        <mixed-citation publication-type="journal">Poornima, A., &amp; Priya, K. S. (2020, March). A comparative sentiment analysis 	of sentence embedding using machine learning techniques. In 2020 6th international conference on advanced computing and communication systems (ICACCS) (pp. 493-496). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref26">
                        <label>26</label>
                        <mixed-citation publication-type="journal">Poria, S., Hazarika, D., Majumder, N., &amp; Mihalcea, R. (2020). Beneath the tip of the iceberg: Current challenges and new directions in sentiment analysis research. IEEE transactions on affective computing, 14(1), 108-132.</mixed-citation>
                    </ref>
                                    <ref id="ref27">
                        <label>27</label>
                        <mixed-citation publication-type="journal">Rawat, A., Maheshwari, H., Khanduja, M., Kumar, R., Memoria, M., &amp; Kumar, 	S.(2022, May). Sentiment analysis of Covid19 vaccines tweets using NLP and machine learning classifiers. In 2022 International Conference on Machine Learning, Big Data, Cloud and Parallel Computing (COM-IT-CON) (pp. 225-230). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref28">
                        <label>28</label>
                        <mixed-citation publication-type="journal">Rizk, Y. E., &amp; Asal, W. M. (2021, October). Sentiment analysis using machine learning and deep learning models on movies reviews. In 2021 3rd Novel Intelligent and Leading Emerging Sciences Conference (NILES) (pp. 129-132). 	IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref29">
                        <label>29</label>
                        <mixed-citation publication-type="journal">Rumelli, M., Akkuş, D., Kart, Ö., &amp; Isik, Z. (2019, October). Sentiment analysis in Turkish text with machine learning algorithms. In 2019 Innovations in  intelligent systems and applications conference (ASYU) (pp. 1-5). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref30">
                        <label>30</label>
                        <mixed-citation publication-type="journal">Salur, M. U., &amp; Aydın, İ. (2022). Türkçe tweetler için derin özellik çıkarımı tabanlı yeni bir duygu sınıflandırma modeli. Fırat Üniversitesi Mühendislik Bilimleri Dergisi, 34(1), 1-13.</mixed-citation>
                    </ref>
                                    <ref id="ref31">
                        <label>31</label>
                        <mixed-citation publication-type="journal">Satrya, R. N., Pratiwi, O. N., Fa&#039;rifah, R. Y., &amp; Abawajy, J. (2022, November). Cryptocurrency sentiment analysis on the twitter platform using support vector machine (svm) algorithm. In 2022 International Conference Advancement in Data Science, E-learning and Information Systems (ICADEIS) (pp. 01-05). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref32">
                        <label>32</label>
                        <mixed-citation publication-type="journal">Sarkar, K., &amp; Bhowmick, M. (2017, December). Sentiment polarity detection in 	bengali tweets using multinomial Naïve Bayes and support vector machines. In 2017 IEEE Calcutta Conference (CALCON) (pp. 31-36). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref33">
                        <label>33</label>
                        <mixed-citation publication-type="journal">Saraswat, S., Bhardwaj, S., Vashistha, S., &amp; Kumar, R. (2023, March). Sentiment Analysis of Audio Files Using Machine Learning and Textual Classification of Audio Data. In 2023 6th International Conference on Information Systems and Computer Networks (ISCON) (pp. 1-5). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref34">
                        <label>34</label>
                        <mixed-citation publication-type="journal">Sharma, S., Pandey, A., Kumar, V., Ohdar, D., Pillai, A. R., &amp; Mahajan, M. (2023, May). Recent Trends in Sentiment Analysis using Different Machine Learning based Models: A Short Review. In 2023 2nd International Conference on Applied Artificial Intelligence and Computing (ICAAIC) (pp. 474-481). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref35">
                        <label>35</label>
                        <mixed-citation publication-type="journal">Singh, S., Kumar, K., &amp; Kumar, B. (2022, May). Sentiment analysis of Twitter data using TF-IDF and machine learning techniques. In 2022 International Conference on Machine Learning, Big Data, Cloud and Parallel Computing (COM-IT-CON) (pp. 252-255). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref36">
                        <label>36</label>
                        <mixed-citation publication-type="journal">Tan, Y. Y., Chow, C. O., Kanesan, J., Chuah, J. H., &amp; Lim, Y. (2023). Sentiment analysis and sarcasm detection using deep multi-task learning. Wireless personal communications, 129(3), 2213-2237.</mixed-citation>
                    </ref>
                                    <ref id="ref37">
                        <label>37</label>
                        <mixed-citation publication-type="journal">Tsai, M. F., &amp; Huang, J. Y. (2021). Sentiment analysis of pets using deep learning technologies in artificial intelligence of things system. Soft Computing, 25(21), 13741-13752.</mixed-citation>
                    </ref>
                                    <ref id="ref38">
                        <label>38</label>
                        <mixed-citation publication-type="journal">Wang, Y., Huang, G., Li, J., Li, H., Zhou, Y., &amp; Jiang, H. (2021). Refined global 	word embeddings based on sentiment concept for sentiment analysis. IEEE Access, 9, 37075-37085.</mixed-citation>
                    </ref>
                                    <ref id="ref39">
                        <label>39</label>
                        <mixed-citation publication-type="journal">Xu, L., &amp; Song, Y. (2023, April). Comparison of text sentiment analysis based on traditional machine learning and deep learning methods. In 2023 4th International Conference on Computer Engineering and Application (ICCEA) (pp. 692-695). IEEE.</mixed-citation>
                    </ref>
                                    <ref id="ref40">
                        <label>40</label>
                        <mixed-citation publication-type="journal">Zhang, X., &amp; Zheng, X. (2016, July). Comparison of text sentiment analysis based on machine learning. In 2016 15th international symposium on parallel and distributed computing (ISPDC) (pp. 230-233). IEEE.</mixed-citation>
                    </ref>
                            </ref-list>
                    </back>
    </article>
