|
xgboost
|
additional math utils More...
#include <xgboost/base.h>#include <utility>#include <vector>#include <cmath>#include <algorithm>
Go to the source code of this file.
Namespaces | |
| xgboost | |
| namespace of xgboost | |
| xgboost::common | |
Functions | |
| XGBOOST_DEVICE float | xgboost::common::Sigmoid (float x) |
| calculate the sigmoid of the input. More... | |
| template<typename Iterator > | |
| XGBOOST_DEVICE void | xgboost::common::Softmax (Iterator start, Iterator end) |
| Do inplace softmax transformaton on start to end. More... | |
| template<typename Iterator > | |
| XGBOOST_DEVICE Iterator | xgboost::common::FindMaxIndex (Iterator begin, Iterator end) |
| Find the maximum iterator within the iterators. More... | |
| float | xgboost::common::LogSum (float x, float y) |
| perform numerically safe logsum More... | |
| template<typename Iterator > | |
| float | xgboost::common::LogSum (Iterator begin, Iterator end) |
| perform numerically safe logsum More... | |
| template<typename T > | |
| bool | xgboost::common::CheckNAN (T v) |
| template<typename T > | |
| XGBOOST_DEVICE T | xgboost::common::LogGamma (T v) |
additional math utils
Copyright 2015 by Contributors
1.8.13