Description Usage Arguments Value See Also
View source: R/tuneThreshold.R
Optimizes the threshold of predictions based on probabilities.
Works for classification and multilabel tasks.
Uses optimizeSubInts
for normal binary class problems and cma_es
for multiclass and multilabel problems.
1 | tuneThreshold(pred, measure, task, model, nsub = 20L, control = list())
|
pred |
[ |
measure |
[ |
task |
[ |
model |
[ |
nsub |
[ |
control |
[ |
[list
]. A named list with with the following components:
th
is the optimal threshold, perf
the performance value.
Other tune: TuneControl
,
getNestedTuneResultsOptPathDf
,
getNestedTuneResultsX
,
getTuneResult
,
makeModelMultiplexerParamSet
,
makeModelMultiplexer
,
makeTuneControlCMAES
,
makeTuneControlDesign
,
makeTuneControlGenSA
,
makeTuneControlGrid
,
makeTuneControlIrace
,
makeTuneControlMBO
,
makeTuneControlRandom
,
makeTuneWrapper
, tuneParams
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.