Description Usage Arguments Value Reference See Also Examples
This function implements the generalized (double asymptotic) consistent estimator of risk.
1 | da_risk_estimator(object)
|
object |
An object of class "abcrlda". |
Calculates risk based on estimated class error rates and misclassification costs
R = e_0 * C_10 + e_1 * C_01)
A. Zollanvari, M. Abdirash, A. Dadlani and B. Abibullaev, "Asymptotically Bias-Corrected Regularized Linear Discriminant Analysis for Cost-Sensitive Binary Classification," in IEEE Signal Processing Letters, vol. 26, no. 9, pp. 1300-1304, Sept. 2019. doi: 10.1109/LSP.2019.2918485 URL: https://ieeexplore.ieee.org/document/8720003
Other functions in the package:
abcrlda()
,
cross_validation()
,
grid_search()
,
predict.abcrlda()
,
risk_calculate()
1 2 3 4 5 6 7 | data(iris)
train_data <- iris[which(iris[, ncol(iris)] == "virginica" |
iris[, ncol(iris)] == "versicolor"), 1:4]
train_label <- factor(iris[which(iris[, ncol(iris)] == "virginica" |
iris[, ncol(iris)] == "versicolor"), 5])
model <- abcrlda(train_data, train_label, gamma = 0.5, cost = 0.75)
da_risk_estimator(model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.