powered by
This function is used to train a GPD classifier. It can be used to perform open set classification based on the generalized Pareto distribution.
gpdcTrain(train, k)
a data matrix containing the train data. Class labels should not be included.
the number of upper order statistics to be used.
A list of three elements.
the estimated rescaled shape parameters for each point in the training dataset.
the estimated radius for each point in the training dataset.
the number of upper order statistics used.
For details on the method and parameters see Vignotto and Engelke (2018).
Vignotto, E., & Engelke, S. (2018). Extreme Value Theory for Open Set Classification-GPD and GEV Classifiers. arXiv preprint arXiv:1808.09902.
gpdcTest
# 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