can we classify mfcc using svm

3 ビュー (過去 30 日間)
jasmeet kaur
jasmeet kaur 2021 年 9 月 14 日
回答済み: Rahul 2024 年 9 月 12 日
how can we classify the mfcc extracted cooefficents using svmtrain. i need help in generting answers.

回答 (1 件)

Rahul
Rahul 2024 年 9 月 12 日
I understand that you require classify the extracted coefficients from the 'mfcc' function using SVM.
You can achieve the desired result using the 'fitcsvm' using the coefficients and labels available for classification.
You can follow this example:
% Considering 'coeffs' as the variable for coefficients extracted from the 'mfcc' function
% Considering 'labels' as the variable for prediction labels
% Training the SVM classifier
SVMModel = fitcsvm(coeffs, labels, 'KernelFunction', 'linear', 'Standardize', true);
% Individual classifier parameters can be changed according to the use-case.
The 'predict' function can be used to obtain the predictions of the trained model on untrained data.
You can refer to the folowing Mathworks documentations to know more about these functions:
Hope this helps!

カテゴリ

Help Center および File ExchangeSpeech Recognition についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by