Skip to content

Commit

Permalink
updated description and maxiter to match the paper's experimental set…
Browse files Browse the repository at this point in the history
…ting
  • Loading branch information
Ommac committed Mar 3, 2017
1 parent e1e68cf commit 07b7e8f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
# incremental_multiclass_RLSC
Incremental regularized least squares for multiclass classification with recoding, extension to new classes and fixed update complexity.

Code for the experiments of the paper on the MNIST handwritten digits dataset:
"Incremental Robot Learning of New Objects with Fixed Update Time"
Raffaello Camoriano, Giulia Pasquale, Carlo Ciliberto, Lorenzo Natale, Lorenzo Rosasco, Giorgio Metta
ICRA 2017

Abstract
We consider object recognition in the context of lifelong learning, where a robotic agent learns to discriminate between a growing number of object classes as it accumulates experience about the environment. We propose an incremental variant of the Regularized Least Squares for Classification (RLSC) algorithm, and exploit its structure to seamlessly add new classes to the learned model. The presented algorithm addresses the problem of having an unbalanced proportion of training examples per class, which occurs when new objects are presented to the system for the first time.
We evaluate our algorithm on both a machine learning benchmark dataset and two challenging object recognition tasks in a robotic setting. Empirical evidence shows that our approach achieves comparable or higher classification performance than its batch counterpart when classes are unbalanced, while being significantly faster.

Copyright (c) 2017
Istituto Italiano di Tecnologia, Genoa, Italy
R. Camoriano, G. Pasquale, C. Ciliberto, L. Natale, L. Rosasco, G. Metta
All rights reserved.

Clone and run main.m

To modify the experimental setting, edit "dataConf_MNIST_inc.m" and/or the "Experimental setup" section of "main.m"

Tested on MATLAB R2014b
4 changes: 2 additions & 2 deletions main.m
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
close all;
confIncremental;

%% Experiments setup
%% Experimental setup
run_inc_rlsc_yesrec = 1; % Incremental RLSC with recoding
computeTestAcc = 1; % Flag for test accuracy computation
trainPart = 0.8; % Training set part (1 - validation_percentage)
maxiter = 100; % Maximum number of updates
maxiter = 300; % Maximum number of updates
numrep = 2; % Number of repetitions of the experiment
saveResult = 1; % Save final results flag

Expand Down

0 comments on commit 07b7e8f

Please sign in to comment.