Building a machine learning application

Machine learning applications, especially those focused on classification, usually follow the same high-level workflow that's shown in the following diagram. The workflow is comprised of two phases—training the classifier and the classification of new instances. Both phases share common steps, as shown here:

First, we use a set of training data, select a representative subset as the training set, preprocess the missing data, and extract its features. A selected supervised learning algorithm is used to train a model, which is deployed in the second phase. The second phase puts a new data instance through ...

Get Machine Learning in Java - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.