|
|
| HistogramPool () |
| | Constructor.
|
| |
|
| ~HistogramPool () |
| | Destructor.
|
| |
| void | Reset (int cache_size, int total_size) |
| | Reset pool size.
|
| |
|
void | ResetMap () |
| | Reset mapper.
|
| |
|
void | DynamicChangeSize (const Dataset *train_data, const Config *config, int cache_size, int total_size) |
| |
|
void | ResetConfig (const Config *config) |
| |
| bool | Get (int idx, FeatureHistogram **out) |
| | Get data for the specific index.
|
| |
| void | Move (int src_idx, int dst_idx) |
| | Move data from one index to another index.
|
| |
◆ Get()
Get data for the specific index.
- Parameters
-
| idx | which index want to get |
| out | output data will store into this |
- Returns
- True if this index is in the pool, False if this index is not in the pool
◆ Move()
| void LightGBM::HistogramPool::Move |
( |
int |
src_idx, |
|
|
int |
dst_idx |
|
) |
| |
|
inline |
Move data from one index to another index.
- Parameters
-
◆ Reset()
| void LightGBM::HistogramPool::Reset |
( |
int |
cache_size, |
|
|
int |
total_size |
|
) |
| |
|
inline |
Reset pool size.
- Parameters
-
| cache_size | Max cache size |
| total_size | Total size will be used |
The documentation for this class was generated from the following file: