Medial Code Documentation
Loading...
Searching...
No Matches
External
xgboost
src
common
pseudo_huber.h
1
#ifndef XGBOOST_COMMON_PSEUDO_HUBER_H_
2
#define XGBOOST_COMMON_PSEUDO_HUBER_H_
6
#include "
xgboost/parameter.h
"
7
8
namespace
xgboost
{
9
struct
PesudoHuberParam
:
public
XGBoostParameter
<PesudoHuberParam> {
10
float
huber_slope{1.0};
11
12
DMLC_DECLARE_PARAMETER(
PesudoHuberParam
) {
13
DMLC_DECLARE_FIELD(huber_slope)
14
.set_default(1.0f)
15
.describe(
"The delta term in Pseudo-Huber loss."
);
16
}
17
};
18
}
// namespace xgboost
19
#endif
// XGBOOST_COMMON_PSEUDO_HUBER_H_
parameter.h
macro for using C++11 enum class as DMLC parameter
xgboost
namespace of xgboost
Definition
base.h:90
xgboost::PesudoHuberParam
Definition
pseudo_huber.h:9
xgboost::XGBoostParameter
Definition
parameter.h:84
Generated on Mon Sep 15 2025 12:12:20 for Medial Code Documentation by
1.9.8