This packages provides an implementation of an Inductive Confidence Machine for Regression based on Ridge Regression. The telos of this package is to create a regression model that provides point estimates and reliable predictive/confidence intervals with minimal assumptions, which is particularly useful in domains where the degree of uncertainty of the prediction is as important as the prediction itself (point estimate). Consult the list references for more details on conformal prediction.
# install.packages("devtools")
devtools::install_github(repo = "dsnavega/icmr")
# Build a 'icmr' object
icmr.object <- icmr(x = x, y = y, control = icmr.control())
# Obtaining a prediction
prediction <- predict(object = icmr.object, newdata = z, alpha = 0.05)
In the Usage example x
is assumed to be a matrix of numeric
values and y
a vector of numeric data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.