@sset wrote:
Hi,
Naive byes text classification seems to be incorrect. Classification is different from hand computed. Kindly refer to code present in below link.
<>
Text,Category
laundering laundering laundering,Money laundering
bankfraud bankfraud,Money laundering
terrorist terrorist terrorist terrorist,Terrorist Financing
weapon weapon,Terrorist Financing
bribe bribe bribe bribe bribe,Bribery and Corruption
corrupt corrupt corrupt,Bribery and Corruption<>
laundering terrorist terroristHand calculated naive byes classifies test data as "Terrorist Financing" (which is correct) while R classifies as "Money laundering" (which is wrong)
Attached are computed values.blogpostnb1.zip (1.2 KB)
Posts: 1
Participants: 1