Text classifier on Java with WEKA

copyright from Alex Titov
copyright from https://deeplearning.cms.waikato.ac.nz/
Java and Weka tools import
public class DebitCreditWekaClassifier {...}
The logger and other private variables
The constructor of class
Load data for training
Build model’s classifier
LOGGER.info("Evaluation Result: \n"+wt.evaluate());
....
Analysis result
Correctly Classified Instances 8 100 %
Incorrectly Classified Instances 0 0 %
Kappa statistic 1
Mean absolute error 0.2334
Root mean squared error 0.2456
Relative absolute error 46.6838 %
Root relative squared error 49.1217 %
Total Number of Instances 8

 by the author.

--

--

--

R&D engineer in machine learning and data analysis. Java, C/C++, Python, M and CUDA. HPC, processors architectures and parallel systems.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Stop the Data Spillage in Projects

Similarity Functions in Python

Air Pollution Data — Exploring data set — Beginners guide

Air Pollution from factories

Connecting the dots: how to see the shape of fraud

🍎Market Basket Analysis🍞- Association Rule Mining with visualizations

Internship Experience at Bajaj Finserv Health Limited’ 21 | Data Engineering Intern | Jul-Dec | 6…

Predicting Prices of AirBnbs in Cape Town, South Africa: a Small ML Project

Traffic Incidents in Saudi Arabia: A deeper look into accidents and finding solutions

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alexey Titov

Alexey Titov

R&D engineer in machine learning and data analysis. Java, C/C++, Python, M and CUDA. HPC, processors architectures and parallel systems.

More from Medium

Kafka Connect Custom Single Message Transform using JSLT

Building Android App Bundle with Jenkins

Classifying categorical data in Weka via the API

Building an android application to control Tello drone flight and perform real-time object…