org.itc.irst.tcc.ties.bwi
Interface Boosting

All Known Implementing Classes:
BWI

public interface Boosting

Since:
1.0
Version:
%I%, %G%
Author:
Claudio Giuliano

Method Summary
 java.util.Collection boost(ExampleSet examples, java.lang.String tag)
          This method must be overridden in order to implement the boosting algorithm.
 java.util.Collection[] boost(ExampleSet examples, java.lang.String tag, int sf)
          This method must be overridden in order to implement the boosting algorithm.
 void init(java.util.Properties p)
          A convenience method which must be overridden in order to set the configuration parameters needed to the boosting algorithm to run properly.
 void test()
          This method must be overridden in order to start the boosting algorithm for testing.
 void train()
          This method must be overridden in order to start the boosting algorithm for training.
 

Method Detail

init

public void init(java.util.Properties p)
A convenience method which must be overridden in order to set the configuration parameters needed to the boosting algorithm to run properly.

Parameters:
p - the list of configuration parameters

boost

public java.util.Collection boost(ExampleSet examples,
                                  java.lang.String tag)
This method must be overridden in order to implement the boosting algorithm.

Parameters:
tag - the label to learn
Returns:
the result as a collection of object.

boost

public java.util.Collection[] boost(ExampleSet examples,
                                    java.lang.String tag,
                                    int sf)
This method must be overridden in order to implement the boosting algorithm. This method is useful for evaluating the learning rate over a specified number of boosting iterations.

Parameters:
tag - the label to learn
Returns:
the result as an array of collection of object.

train

public void train()
This method must be overridden in order to start the boosting algorithm for training.

Returns:
the result as a collection of object.

test

public void test()
This method must be overridden in order to start the boosting algorithm for testing.

Returns:
the result as a collection of object.