Skip to contents

This article serves as a regression test to check the behavior of the current (C++) implementation against the previous “old” implementation, referred to as oldrpf.

Regression

Only supports loss = "L2" and parameters epsilon and delta are not applicable.

method loss R Cpp diff
regr L2 0.1867 0.15026 0.08828

Classification

L1 Loss

method loss R Cpp diff
classif L1 0.08032 0.08601 0.00467

L2 Loss

method loss R Cpp diff
classif L2 0.08782 0.08863 0.00421

Logit Loss

method loss R Cpp diff
classif logit 0.08545 0.0859 0.0027

Exponential Loss

method loss R Cpp diff
classif exponential 0.0786 0.07484 0.00411

Summary Comparison

method loss R Cpp diff
regr L2 0.18670 0.15026 0.08828
classif L1 0.08032 0.08601 0.00467
classif L2 0.08782 0.08863 0.00421
classif logit 0.08545 0.08590 0.00270
classif exponential 0.07860 0.07484 0.00411