Create a PredictionList object

Share:

Description

This function creates a ROCR::prediction object for each predictive model in a PredictiveModelList object. It should be used with PerformanceList to evaluate multiple models with exactly the same criteria while keeping track of which model corresponds to which land use category.

Usage

1
PredictionList(models, newdata, ...)

Arguments

models

a PredictiveModelList object

newdata

a data.frame containing new data

...

additional arguments to ROCR::prediction

Value

A PredictionList object.

References

Sing, T., Sander, O., Beerenwinkel, N., Lengauer, T. (2005). ROCR: visualizing classifier performance in R. Bioinformatics 21(20):3940-3941.

See Also

link{PerformanceList}, ROCR::prediction

Examples

1
## see lulcc-package examples

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.