public interface CDistributionFunc
Modifier and Type | Method and Description |
---|---|
double[] |
gamma(double w,
double y,
double z,
double f)
Contribution for GBM's leaf node prediction (numerator and denominator).
|
double |
gradient(double y,
double f)
(Negative half) Gradient of deviance function at predicted value f, for actual response y.
|
double |
gradient(double y,
double f,
int l)
(Negative half) Gradient of deviance function at predicted value f, for actual response y.
|
double[] |
init(double w,
double o,
double y)
Contribution for initial value computation (numerator and denominator).
|
java.lang.String |
link()
Type of Link function.
|
java.lang.String link()
double[] init(double w, double o, double y)
w
- weighto
- offsety
- responsedouble gradient(double y, double f)
y
- (actual) responsef
- (predicted) response in link space (including offset)double gradient(double y, double f, int l)
y
- (actual) responsef
- (predicted) response in link space (including offset)l
- (class label) label of a class (converted lexicographically from original labels to 0-number of class - 1)double[] gamma(double w, double y, double z, double f)
w
- weighty
- responsez
- residualf
- predicted value (including offset)