A filter in the TBB pipeline. More...
#include <Filter_Optimizer.h>
Public Member Functions | |
Filter_Optimizer (Model_Refiner &) | |
virtual | ~Filter_Optimizer () |
void * | operator() (void *) |
A filter in the TBB pipeline.
Delegates the task to be done to refiner.optimize()
Filter_Optimizer::Filter_Optimizer | ( | Model_Refiner & | refiner | ) |
Filter_Optimizer::~Filter_Optimizer | ( | ) | [virtual] |
void * Filter_Optimizer::operator() | ( | void * | token | ) |
Each document is passed through the filter using this method If we have read in tau documents, we update the global alphas Else we compute gradients & accumulate them in the local alphas