I flag twitter messages as positive, negative, neutral. I am trying to assess if there is any logic that can be used to determine the set of workouts, which part of the message should be positive / negative and neutral?
So, for example, for. if I train the Naive Bayes classifier with 1000 Twitter posts, then the pos: neg: neutral share is 33%: 33%: 33% or 25%: 25%: 50%
Logically in my head, it seems that I am training (that is, I give more samples for neutral ones), that the system will better identify neutral sentences, whether they are positive or negative - is this true? or am I missing some theory here?
Thanks Rahul
The problem you are talking about is called the imbalance problem. Many machine learning algorithms do not work well when faced with unbalanced learning data, i.e. When instances of one class are significantly superior to instances of another class. Read this article, . , , - , . ( ). mjv , . , , . , , , , ML , . , , , , , , .
: // Twitter . , , , .. , , , , / .
... ( ) (, , ) . ( )
[] ; - , , . (, , , , , , bi- ..), .
, , , , , , post facto, ., , , , , , ( ), . , , , [], , ( :-(, ...)
, , 3 - 5 , ( ) .
Source: https://habr.com/ru/post/1728339/More articles:Find an element in context using jQuery - jqueryError "Cannot use string offset as an array" - arrayshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1728336/how-do-i-dynamically-add-image-objects-to-the-display-and-then-interact-with-them&usg=ALkJrhgXhgERSogC7YuXDpwv7_HRvPVbEwhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1728337/how-to-add-an-ip-address-to-an-existing-network-adapter-in-windows&usg=ALkJrhh0KEl3NpbtvdmEKHfbf6DvtJe39gIs there a way to enter the code at build time? - c #Zend Framework style form elements - zend-frameworkPassing objects between winform objects - c #ASP.NET: checking "reset" after calling Page_ClientValidate - javascriptDo you need to exit the blackberry simulator every time you make a change? - blackberry-simulatorhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1728344/how-to-use-arrows-to-change-page-in-jquery&usg=ALkJrhh69vxBjmoehZ2fa148rRlpiPUwuAAll Articles