2. WEKA - Definition
Incremental Learning – Definition
Incremental Learning in WEKA
Steps to train an UpdateableClassifier
Stochastic Gradient Descent
Sample Code, Result and Demo
Overview
3. Weka (Waikato Environment for Knowledge Analysis)
is a collection of machine learning algorithms for data
mining tasks.
Weka 3.7 (Developer version)
What is WEKA ?
4. Train the Model for each Instance within the dataset
Suitable when dealing with large datasets, which do not fit
into the computer’s memory.
Incremental Learning
Definition and Need
6. Initialize an object of ArffLoader.
Retrieve this object’s structure and set it’s class index
(The feature that needs to be predicted –
setClassIndex() ).
Iteratively retrieve an instance from the training set
and update the classifier ( updateClassifier() ).
Evaluate the trained model against the test dataset.
Step to train an
UpdateableClassifier()
7. Stochastic gradient descent is a gradient descent
optimization method for minimizing an objective
function that is written as a sum of differentiable
functions.
Applicable to large datasets, since each iteration
involves processing only a single instance of the
training dataset.
Stochastic Gradient Descent
w: Parameter to be estimated.
Qi(w): A single instance of data
11. SGD class does not support Numeric data types,
unless it is configured to use Huber Loss or Square
Loss.
The learning rate should not be too small (Slow
process) or large (Overshoot the minimum).
Some errors had to be resolved by consulting the
WEKA Java code.
Challenges Faced