We need to analyze the text and select the words Spam from it.
File 1 has text, file 2 has spam words.
There is a search for words and outputs all of them to the console.
I was thinking of making K-means.

回答 (1 件)

Shashank Gupta
Shashank Gupta 2021 年 3 月 22 日

0 投票

Hi Arthur,
Kmeans is also a good option. But I believe Naive Bayes filter will work better. Check out this function. You can also try SVM classifier.
I hope this helps you.
Cheers.

質問済み:

2021 年 3 月 19 日

回答済み:

2021 年 3 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by