R/Measure_make_cost.R
makeCostMeasure.RdCreates a cost measure for non-standard classification error costs.
makeCostMeasure( id = "costs", minimize = TRUE, costs, combine = mean, best = NULL, worst = NULL, name = id, note = "" )
| id | ( |
|---|---|
| minimize | ( |
| costs | (matrix) |
| combine | ( |
| best | ( |
| worst | ( |
| name | (character) |
| note | (character) |
Other performance:
ConfusionMatrix,
calculateConfusionMatrix(),
calculateROCMeasures(),
estimateRelativeOverfitting(),
makeCustomResampledMeasure(),
makeMeasure(),
measures,
performance(),
setAggregation(),
setMeasurePars()