forpy 2

Public Member Functions | Public Attributes | List of all members
forpy::LeafDesk Struct Reference
Desk Implementations

Desk for leaf manager training. More...

`#include <desk.h>`

## Public Member Functions
void | setup (std::vector< Mat< float >> *lrmp)
void | reset ()

## Public Attributes
std::vector< Mat< float > > * | leaf_regression_map_p

## Detailed Description

Desk for leaf manager training.

Storage container for threaded decider training.

Definition at line 162 of file desk.h.

## Member Function Documentation

## ◆ reset()

void forpy::LeafDesk::reset | ( |  | ) |
| inline

Definition at line 170 of file desk.h.

## ◆ setup()

void forpy::LeafDesk::setup | ( | std::vector< Mat< float >> * | lrmp | ) |
| inline

Definition at line 167 of file desk.h.

## Member Data Documentation

## ◆ leaf_regression_map_p

std::vector<Mat<float> >* forpy::LeafDesk::leaf_regression_map_p

Pointer to a shared vector of a mapping node_id->regression value. Since multiple threads never write to the same node and the vector is guaranteed to be large enough, concurrent writes can be performed.

Definition at line 166 of file desk.h.

The documentation for this struct was generated from the following file:

- /Users/classner/git/forpy/include/forpy/util/desk.h