ANNZ v2.1.1
-
Fixed bug in generating a name for an internal
TF1
function inANNZ::setupKdTreeKNN()
. -
Fixed bug in plotting routine from
ANNZ::doMetricPlots()
, when adding user-requested variables which are not floats. -
Added the option,
glob.annz["optimWithMAD"] = False
If set to
True
, then the MAD (median absolute deviation) is used, instead of the 68th percentile of the bias (sigma_68
). This affects only the selection of the "best" MLM and the PDF optimization procedure in randomized regression. Seescripts/generalSettings.py
. -
Added the option,
glob.annz["optimWithScaledBias"] = False
If set to
True
, then instead of the bias,delta == zReg-zTrg
, the expressiondeltaScaled == delta/(1+zTrg)
is used, wherezReg
is the estimated result of the MLM/PDF andzTrg
is the true (target) value. This affects only the selection of the "best" MLM and the PDF optimization procedure in randomized regression. E.g., one can set this parameter in order to minimize the value ofdeltaScaled
instead of the value ofdelta
, or correspondingly the value of the scatter ofdeltaScaled
instead of that ofdelta
. The selection criteria for prioritizing the bias or the scatter remains the parameterglob.annz["optimCondReg"]
. The latter can take the valuebias
(fordelta
ordeltaScaled
),sig68
(for the scatter ofdelta
or ofdeltaScaled
), andfracSig68
(for the outlier fraction ofdelta
or ofdeltaScaled
). Seescripts/generalSettings.py
. -
Added the option,
glob.annz["plotWithScaledBias"] = False
If set to
True
, then instead of the bias,delta == zReg-zTrg
, the expressiondelta/(1+zTrg)
is used. This affects only the figures generated with the plotting routine,ANNZ::doMetricPlots()
, and does not change any of the optimization/output of the code. Seescripts/generalSettings.py
. -
Added option to set the PDF bins in randomized regression by the width of the bins, instead of by the number of the bins. That is, one can now set e.g.,
glob.annz["pdfBinWidth"] = 0.01
instead of e.g.,
glob.annz["nPDFbins"] = 100
Assuming the regression range is
[minValZ,maxValZ] = [0,1.5]
, the first option will lead to 150 PDF bins of width 0.01, while the second will result in 100 bins of width 0.015. The two options are mutually exclusive (the user should define only one or the other). -
For developers: Changed internal key-word interface in
Utils::getInterQuantileStats()
for requesting a MAD calculation: to add the calculation - changed frommedianAbsoluteDeviation
togetMAD
; to retrieve the result of the calculation - fromquant_medianAbsoluteDeviation
toquant_MAD
. -
Other minor modifications.