Description Usage Arguments Details Value Examples
This routine provides binary classifiers that satisfy a
predefined error rate on one type of error and that
simlutaneously minimize the other type of error. For
convenience some points on the ROC curve around the
predefined error rate are returned.
nplNPL
performs Neyman-Pearson-Learning for classification.
1 2 |
x |
either a formula or the features |
y |
either the data or the labels corresponding to the features |
... |
configuration parameters, see Configuration. Can be |
class |
is the normal class (the other class becomes the alarm class) |
constraint |
gives the false alarm rate which should be achieved |
constraint.factors |
specifies the factors around |
do.select |
if |
Please look at the demo-vignette (vignette('demo')
) for more examples.
The labels should only have value c(1,-1)
.
min_weight
, max_weight
, weight_steps
: you might have to define
which weighted classification problems will be considered.
The choice is usually a bit tricky. Good luck ...
an object of type svm
. Depending on the usage this object
has also $train_errors
, $select_errors
, and $last_result
properties.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.