Data Mining: Practical Machine Learning Tools and Techniques, Second Edition

(Brent) #1
When invoking learning schemes from the graphical user interfaces or the
command line, there is no need to know anything about programming in Java.
In this section we show how to access these algorithms from your own code. In
doing so, the advantages of using an object-oriented programming language will
become clear. From now on, we assume that you have at least some rudimen-
tary knowledge of Java. In most practical applications of data mining the learn-
ing component is an integrated part of a far larger software environment. If the
environment is written in Java, you can use Weka to solve the learning problem
without writing any machine learning code yourself.

14.1 A simple data mining application


We present a simple data mining application for learning a model that classi-
fies text files into two categories,hitand miss.The application works for arbi-
trary documents: We refer to them as messages.The implementation uses the

chapter 14


Embedded Machine Learning


461

Free download pdf