Chapter 3. Basic Algorithms – Classification, Regression, and Clustering
In the previous chapter, we reviewed the key Java libraries for machine learning and what they bring to the table. In this chapter, we will finally get our hands dirty. We will take a closer look at the basic machine learning tasks such as classification, regression, and clustering. Each of the topics will introduce basic algorithms for classification, regression, and clustering. The example datasets will be small, simple, and easy to understand.
The following is the list of topics that will be covered in this chapter:
- Loading data
- Filtering attributes
- Building classification, regression, and clustering models
- Evaluating models
Before you start
Download the latest version of Weka 3.6 from http://www.cs.waikato.ac.nz/ml/weka/downloading.html.
There are multiple download options available. We'll want to use Weka as a library in our source code, so make sure you skip the self-extracting executables and pick...