|
| drwnDecisionTreeThread (const set< int > &featureSet, const vector< vector< double > > &x, const vector< int > &y, const vector< double > &w, const vector< vector< int > > &sortIndex, const drwnBitArray &sampleIndex, const vector< double > &classCounts, double H, double totalWeight) |
|
void | operator() () |
| thread functor called by drwnThreadPool with the appropriate threadId
|
|
|
int | bestFeature |
|
double | bestScore |
|
double | bestSplit |
|
|
const set< int > | _featureSet |
|
const vector< vector< double > > & | _x |
|
const vector< int > & | _y |
|
const vector< double > & | _w |
|
const vector< vector< int > > & | _sortIndex |
|
const drwnBitArray & | _sampleIndex |
|
const vector< double > & | _classCounts |
|
const double | _H |
|
const double | _totalWeight |
|
|
unsigned | threadId () |
| obtain the id for the thread running (or that ran) this job. The return value is guaranteed to be between 0 and numThreads . Useful for accessing a global resource without colliding with other jobs.
|
|
void | lock () |
| acquire a lock (on all jobs in the same thread pool)
|
|
void | unlock () |
| release the lock (on all jobs in the same thread pool)
|
|
The documentation for this class was generated from the following file: