ConformalClassification-class: Class '"ConformalClassification"': Conformal Prediction for...

Description Extends Fields Methods Author(s) References See Also

Description

R reference class to calculate p.values for individual predictions according to the conformal prediction framework.

Extends

All reference classes extend and inherit methods from "ConformalClassification".

Fields

ClassificationModel:

stores a classification Random Forest model.

confidence:

stores the user-defined confidence level.

data.new:

stores the descriptors corresponding to an external set.

NonconformityScoresMatrix:

stores the non conformity scores matrix.

ClassPredictions:

stores the class predictions calculated for the external set.

p.values:

p.values: a list storing the p.values and their significance (see section Details)

Methods

initialize(confi):

this method is called when you create an instance of the class. The default value for the confidence level is 0.8.

CalculatePValues(new.data):

this method calculates the p.values for the datapoints in a external set. The class predictions are stored in the field ClassPredictions, whereas the p.values and their significance, according to the user defined confidence level, are stored in the field p.values.

CalculateCVScores(model):

this method calculates the non conformitity scores (or probabilities) matrix from the cross-validation predictions of the input randomForest model (trained with k-fold cross-validation). The non conformity scores matrix is stored in the field NonconformityScoresMatrix.

Author(s)

Isidro Cortes-Ciriano <isidrolauscher@gmail.com>

References

Norinder et al. J. Chem. Inf. Model., 2014, 54 (6), pp 1596-1603 DOI: 10.1021/ci5001168 http://pubs.acs.org/doi/abs/10.1021/ci5001168

See Also

ConformalClassification ConformalRegression ConformalRegression-class


conformal documentation built on May 30, 2017, 6:49 a.m.