Makine öğrenmesi tabanlı ses semantik analizi ile duygu durumunun sınıflandırılması
No Thumbnail Available
Files
Date
2026
Authors
Journal Title
Journal ISSN
Volume Title
Publisher
Başkent Üniversitesi Fen Bilimleri Enstitüsü
Abstract
Konuşma Tabanlı Duygu Tanıma (Speech Emotion Recognition – SER), konuşma sinyallerini analiz ederek konuşan kişinin duygusal durumunu otomatik olarak belirlemeyi amaçlayan, duygusal hesaplama alanının önemli bir araştırma konusudur. Metin tabanlı yaklaşımların aksine, konuşma sinyalleri tonlama, vurgu, konuşma hızı ve ses enerjisi gibi zengin duygusal ipuçları barındırır. Bu nedenle SER sistemleri, insan–makine etkileşiminin daha doğal ve empatik hale getirilmesinde kritik bir rol oynamaktadır.
Tez çalışmasında, Türkçe konuşma verileri kullanılarak konuşma tabanlı duygu tanıma sistemi geliştirilmiştir. Çalışmada beş temel duygu sınıfı ele alınmıştır: kızgın, mutlu, üzgün, nötr ve korkmuş. Her bir duygu sınıfı için eşit sayıda örnek içeren dengeli bir veri seti oluşturulmuş ve her sınıftan 165 ses örneği kullanılmıştır. Veri setinin verimliliğini artırmak amacıyla sessizlik kırpma, normalizasyon ve sabit uzunlukta segmentasyon gibi ön işleme adımları uygulanmıştır.
Öznitelik çıkarımı aşamasında, konuşma sinyallerinin duygusal içeriğini temsil eden prosodik ve spektral öznitelikler birlikte kullanılmıştır. Bu kapsamda Mel Frekans Kepstral Katsayıları (Mel-Frequency Cepstral Coefficients, MFCC), spektral merkez, kök ortalama kare enerji ve sıfır geçiş oranından oluşan 29 boyutlu temel akustik öznitelik vektörü elde edilmiştir. İncelenen literatürdeki yaygın öznitelik kümelerinden farklı olarak, bu tez kapsamında pYIN yöntemiyle çıkarılan ortalama, standart sapma, minimum, maksimum, aralık ve medyan F0 değerleri ile sesli çerçeve oranı temel özniteliklere eklenmiş ve Türkçe veri setine özgü 36 boyutlu bütünleşik bir temsil önerilmiştir. Klasik makine öğrenmesi ve derin öğrenme modelleri karşılaştırılmış; önerilen öznitelik kümesiyle SVM-RBF modeli %69,70 doğruluk ve 0,6956 Makro F1 değerine ulaşarak en başarılı sonucu vermiştir. F0 özniteliklerinin eklenmesi, SVM-RBF doğruluğunu %67,27’den %69,70’e yükseltmiş ve temel frekans bilgisinin duygu sınıflarının ayrıştırılmasına katkı sağladığını göstermiştir. Model performansı doğruluk, kesinlik, duyarlılık, F1 skoru ve karmaşıklık matrisi gibi ölçütlerle değerlendirilmiş, ayrıca sistemin hesaplama maliyeti analiz edilmiştir. Speech Emotion Recognition (SER) has emerged as an important research area in affective computing, aiming to identify the emotional state of a speaker through the analysis of speech signals. Unlike text-based approaches, speech conveys rich emotional information through prosodic and spectral characteristics such as pitch, energy, tempo, and voice quality. The ability to automatically recognize emotions from speech enables more natural and empathetic human–machine interaction and has applications in areas including intelligent virtual assistants, customer service systems, healthcare monitoring, and human–robot interaction.
In this thesis, a speech emotion recognition system is developed using machine learning techniques to classify emotional states from speech signals. A balanced Turkish speech dataset is constructed, consisting of five emotional classes: angry, happy, sad, neutral, and fearful, with an equal number of samples per class. To improve data quality and model performance, several preprocessing steps are applied, including silence trimming, normalization, and fixed-length segmentation. Prosodic and spectral features are extracted from the speech signals, primarily Mel-Frequency Cepstral Coefficients (MFCCs), along with additional acoustic descriptors such as spectral centroid, energy, and zero-crossing rate.
The extracted features were used to evaluate classical machine learning and deep learning models. In addition to a 29-dimensional baseline acoustic vector composed of MFCC statistics, spectral centroid, root mean square energy, and zero-crossing rate, this thesis proposed a 36-dimensional integrated representation by adding seven F0-based descriptors obtained with the pYIN method: mean, standard deviation, minimum, maximum, range, median, and voiced-frame ratio. Within the scope of the reviewed literature, this specific feature configuration and its application to the constructed Turkish dataset constitute the principal methodological contribution of the study. The SVM-RBF model achieved the best performance with 69.70% accuracy and a Macro F1-score of 0.6956; adding the F0 descriptors increased its accuracy from 67.27% to 69.70%. The models were evaluated using accuracy, precision, recall, F1-score, confusion-matrix analysis, and computational cost.
Description
Keywords
Konuşmadan duygu tanıma, Türkçe konuşma, temel frekans, F0, MFCC, SVM-RBF, Rastgele Orman, LSTM., Speech Emotion Recognition, Turkish Speech, Fundamental Frequency, Random Forest, LSTM