I am working on a problem that includes the classification of a large database of texts. The texts are very short (3-8 words each), and there are 10-12 categories into which I want to sort them. For functions, I just use the tf-idf frequency of each word. Thus, the number of functions is approximately equal to the number of words that are generally displayed in texts (I delete stop words and some others).
When trying to create a model for use, I had the following two ideas:
I have built both models and am currently comparing the results.
What are the theoretical pros and cons of each model? Why can one of them be better for this type of problem? I am new to machine learning, so I would like to understand why you can do better.
Many thanks!
, "", , , SVM , (, rbf, poly ..). , , , , , , , SVM , , .
ML , SVM , Naive Bayes.
, . , - . , , (y (a, b) = ab), , . SVM ( 2/3 ), , , .
- , . , Naive Bayes. ..
MNB , . (Ng Jordan, 2002) , NB , SVM/ (LR) , MNB . SVM NB, 30-50 , , MNB - (9k ).
, NBSVM .
: https://github.com/prakhar-agarwal/Naive-Bayes-SVM: http://nlp.stanford.edu/pubs/sidaw12_simple_sentiment.pdfCite: , . . " : , ." 50- : - 2. , 2012.
: https://github.com/prakhar-agarwal/Naive-Bayes-SVM
: http://nlp.stanford.edu/pubs/sidaw12_simple_sentiment.pdf
Cite: , . . " : , ." 50- : - 2. , 2012.
Source: https://habr.com/ru/post/1628472/More articles:Types of ML for function, litle tips? - functional-programmingPostgreSql stores value as integer vs varchar - typesCommon lambda functions with template parameters - c ++How to configure nuget.config file for xamarin project - VS2015 - c #Python 2.7 pickle won't recognize numpy multiarray - python-2.7When should I store and re-store the keychain on ios swift? - iosTelegram Api layer 52 (supergroups and channels) - apiPush Notification does not work in ios 9.2.1 - iosBoxCollider2D bounds.Contain(somePoint) работает не так, как ожидалось - c#Grails / java: exception in Multi-tenant data source provider javax.naming.NameNotFoundException: jdbc name: mysql: not related in this context - javaAll Articles