Description Usage Arguments Value References Examples

Computes the covariance of the two volumes under the ROC surface (VUS) implied by two predictions `fx1`

and `fx2`

(i.e. values of two ranking functions f1 and f2) for a vector of realisations `y`

(i.e. realised categories) in a multi-class classification problem.

1 | ```
VUScov(y, fx1, fx2, ncores = 1, clusterType = "SOCK")
``` |

`y` |
a vector of realized categories. |

`fx1` |
a vector of predicted values of the ranking function f1. |

`fx2` |
a vector of predicted values of the ranking function f2. |

`ncores` |
number of cores to be used for parallelized computations. Its default value is 1. |

`clusterType` |
type of cluster to be initialized in case more than one core is used for calculations. Its default value is "SOCK". For details regarding the different types to be used, see |

The implemented algorithm is based on Waegeman, De Baets and Boullart (2008). A list of length three is returned, containing the following components:

`cov` |
covariance of the two volumes under the ROC surface implied by f1 and f2 |

`val_f1` |
volume under the ROC surface implied by f1 |

`val_f2` |
volume under the ROC surface implied by f2 |

Waegeman W., De Baets B., Boullart L., 2008. On the scalability of ordered multi-class ROC analysis. Computational Statistics & Data Analysis 52, 3371-3388.

1 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.