Self-training and co-training machine learning models
You will now learn how to develop semi-supervised models.
The very first thing that we'll do is download a package for semi-supervised learning, then we will create a classifier for a semi-supervised model.
Downloading a semi-supervised package
Go to https://github.com/fracpete/collective-classification-weka-package to get the collective-classification
Weka package. This is a semi-supervised learning package that is available in Weka.
There are two ways to install the package, as follows:
- Download the source from GitHub and compile it, then create a JAR file
- Go to the Weka package manager, and install the collective classification from there
After performing one of the preceding methods, you'll have a JAR file. You will need this JAR file to train the classifier. The source code that we'll be getting will provide the JAR file with the code. Let's look at how this is done.
Creating a classifier for semi-supervised models
Let's start with the following...