Title: | Estimates Reliability of Individual Supervised Learning Predictions |
---|---|
Description: | An implementation of reliability estimation methods described in the paper (Bosnic, Z., & Kononenko, I. (2008) <doi:10.1007/s10489-007-0084-9>), which allows you to test the reliability of a single predicted instance made by your model and prediction function. It also allows you to make a correlation test to estimate which reliability estimate is the most accurate for your model. |
Authors: | Simon Cof [aut, cre] |
Maintainer: | Simon Cof <[email protected]> |
License: | GPL-3 |
Version: | 0.1.0 |
Built: | 2024-12-06 06:28:39 UTC |
Source: | CRAN |
A function used to calculate the reliability of individual predictions given by your model and prediction function with methods described in the paper (Bosnic, Z., & Kononenko, I. (2008) <doi:10.1007/s10489-007-0084-9>). It also allows you to make a correlation test to estimate which reliability estimate is the most accurate for your model.
predReliability( data.test, data.train, types, formula, model.function, predict.function, ceval = F, nThread = 1, ... )
predReliability( data.test, data.train, types, formula, model.function, predict.function, ceval = F, nThread = 1, ... )
data.test |
a |
data.train |
a |
types |
a |
formula |
a |
model.function |
a function with arguments |
predict.function |
a function with arguments model object |
ceval |
a flag whether a 10-fold correlation test should be made on the requested types (default set to false) |
nThread |
the number |
... |
extra arguments you wish to be passed to your model and prediction function |
Bosnic, Z., & Kononenko, I. (2008). Comparison of approaches for estimating reliability of individual regression predictions. Data & Knowledge Engineering, 67(3), 504-516. Bosnic, Z., & Kononenko, I. (2008). Estimation of individual prediction reliability using the local sensitivity analysis. Applied intelligence, 29(3), 187-203. Bosnic, Z., & Kononenko, I. (2009). An overview of advances in reliability estimation of individual predictions in machine learning. Intelligent Data Analysis, 13(2), 385-401.
estimates <- c("bagv", "cnk", "lcv", "sa") predReliability(mtcars[1,], mtcars[-1,], estimates, mpg~., rpart::rpart, predict)
estimates <- c("bagv", "cnk", "lcv", "sa") predReliability(mtcars[1,], mtcars[-1,], estimates, mpg~., rpart::rpart, predict)