filters out all row in the matrix for which the value at column 'dimension' is less than the treshold
Definition at line 16 of file MakeFilter.h. References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), and Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CPB(). Referenced by Impala::Core::Feature::SplitSet(). 00018 { 00019 bool* filter = new bool[matrix->CH()]; 00020 for(int i=0 ; i<matrix->CH() ; ++i) 00021 filter[i] = (*matrix->CPB(dimension, i) < treshold); 00022 return filter; 00023 }
Here is the call graph for this function:
|