Use DataInfo() instead of DataSetInfo(). DataSetInfo() is the constructor so a new instance of the class is created in this case with default values, instead of using the one stored in the Method class that is returned by the member function MethodBase::DataInfo(). This fixes a bug in the GradientBoosting reported in the forum, causing the signal peak to be in the wrong side. See https://root-forum.cern.ch/t/signal-peaking-on-the-wrong-side/35223
Use DataInfo() instead of DataSetInfo(). DataSetInfo() is the constructor so a new instance of the class is created in this case with default values, instead of using the one stored in the Method class that is returned by the member function MethodBase::DataInfo().
This fixes a bug in the GradientBoosting reported in the forum, causing the signal peak to be in the wrong side.
See https://root-forum.cern.ch/t/signal-peaking-on-the-wrong-side/35223

The bug was introduced last year in ROOT 6.16

olifre/root,root-mirror/root,olifre/root,root-mirror/root,karies/root,karies/root,olifre/root,root-mirror/root,root-mirror/root,olifre/root,olifre/root,olifre/root,karies/root,karies/root,root-mirror/root,karies/root,olifre/root,root-mirror/root,root-mirror/root,olifre/root,karies/root,root-mirror/root,olifre/root,root-mirror/root,root-mirror/root,karies/root,karies/root,karies/root,root-mirror/root,karies/root,olifre/root,karies/root,olifre/root