Line plot of evaluation metrics across thresholds
Plot.BinaryMetrics(
dt = NULL,
PreAgg = FALSE,
AggMethod = "mean",
SampleSize = 100000L,
XVar = NULL,
YVar = NULL,
ZVar = NULL,
Metrics = c("Utility", "MCC", "Accuracy", "F1_Score", "F2_Score", "F0.5_Score",
"ThreatScore", "TPR", "TNR", "FNR", "FPR", "FDR", "FOR"),
GroupVar = NULL,
YVarTrans = "Identity",
XVarTrans = "Identity",
ZVarTrans = "Identity",
FacetRows = 1,
FacetCols = 1,
FacetLevels = NULL,
CostMatrixWeights = c(0, 1, 1, 0),
NumberBins = 20,
Height = NULL,
Width = NULL,
Title = "Binary Metrics",
MouseScroll = TRUE,
ShowLabels = FALSE,
Title.YAxis = NULL,
Title.XAxis = NULL,
EchartsTheme = "macarons",
EchartsLabels = FALSE,
TimeLine = TRUE,
TextColor = "white",
Debug = FALSE
)
plot
source data.table
logical
character
numeric
X-Axis variable name
Y-Axis variable name
character
Multiple selection "Utility","MCC","Accuracy","F1_Score","F2_Score","F0.5_Score","ThreatScore","TPR","TNR","FNR","FPR","FDR","FOR"
Character variable
"Asinh", "Log", "LogPlus1", "Sqrt", "Asin", "Logit", "PercRank", "Standardize", "BoxCox", "YeoJohnson"
"Asinh", "Log", "LogPlus1", "Sqrt", "Asin", "Logit", "PercRank", "Standardize", "BoxCox", "YeoJohnson"
"Asinh", "Log", "LogPlus1", "Sqrt", "Asin", "Logit", "PercRank", "Standardize", "BoxCox", "YeoJohnson"
Defaults to 1 which causes no faceting to occur vertically. Otherwise, supply a numeric value for the number of output grid rows
Defaults to 1 which causes no faceting to occur horizontally. Otherwise, supply a numeric value for the number of output grid columns
Faceting rows x columns is the max number of levels allowed in a grid. If your GroupVar has more you can supply the levels to display.
vector length 4. FP, FP, FN, TP
numeric
"400px"
"200px"
character
logical, zoom via mouse scroll
character
character
character
"auritus","azul","bee-inspired","blue","caravan","carp","chalk","cool","dark-bold","dark","eduardo", #' "essos","forest","fresh-cut","fruit","gray","green","halloween","helianthus","infographic","inspired", #' "jazz","london","dark","macarons","macarons2","mint","purple-passion","red-velvet","red","roma","royal", #' "sakura","shine","tech-blue","vintage","walden","wef","weforum","westeros","wonderland"
character
logical
hex character
Debugging purposes
Adrian Antico
Other Model Evaluation:
Plot.Calibration.Box()
,
Plot.Calibration.Line()
,
Plot.ConfusionMatrix()
,
Plot.Gains()
,
Plot.Lift()
,
Plot.PartialDependence.Box()
,
Plot.PartialDependence.HeatMap()
,
Plot.PartialDependence.Line()
,
Plot.ROC()
,
Plot.Residuals.Histogram()
,
Plot.Residuals.Scatter()
,
Plot.ShapImportance()
,
Plot.VariableImportance()