fmeasure {EGAD} | R Documentation

## Fmeasure of precision-recall

### Description

The function calculates fmeasure for a given beta of a precision-recall curve

### Usage

    fmeasure(recall, precis, beta = 1)

### Arguments

`recall` | numeric array
`precis` | numeric array
`beta` | numeric value, default is 1

### Value

fmeasure Numeric value

### Examples

    labels <- c(rep(0,10))
    labels[c(1,3,5)] <- 1
    scores <- 10:1
    prc <- get_prc(scores, labels)
    fm <- fmeasure(prc[,1], prc[,2])

[Package EGAD version 1.20.0 Index]