Friday, 20 March 2020

Text Classification using SVM Algorithm in Java, Classifying Text with SVM Algorithm Java, Spam Detection using SVM Algorithm

This source code shows how to classify text using SVM classification algorithm in java.


Requirements:

weka-stable-3.6.10.jar


Source Code:



Output:

In command prompt first set jar file for run using this below line

set classpath=%classpath%;weka-stable-3.6.10.jar;

javac TextClassifier.java

java TextClassifier









No comments:

Post a Comment