Learn R Programming

evtclass (version 1.0)

gpdcTrain: GPD Classifier - training

Description

This function is used to train a GPD classifier. It can be used to perform open set classification based on the generalized Pareto distribution.

Usage

gpdcTrain(train, k)

Arguments

train

a data matrix containing the train data. Class labels should not be included.

k

the number of upper order statistics to be used.

Value

A list of three elements.

pshapes

the estimated rescaled shape parameters for each point in the training dataset.

balls

the estimated radius for each point in the training dataset.

k

the number of upper order statistics used.

Details

For details on the method and parameters see Vignotto and Engelke (2018).

References

Vignotto, E., & Engelke, S. (2018). Extreme Value Theory for Open Set Classification-GPD and GEV Classifiers. arXiv preprint arXiv:1808.09902.

See Also

gpdcTest

Examples

Run this code
# NOT RUN {
trainset <- LETTER[1:15000,]
knowns <- trainset[trainset$class==1, -1]
gpdClassifier <- gpdcTrain(train = knowns, k = 10)
# }

Run the code above in your browser using DataLab