Skip to content

Latest commit

 

History

History

README.md

Metrics provides simple access to commonly used evaluation metrics in machine learning.

Installation

To install or update, run the following command from the R prompt. You need the latest version of R to get the latest version of Metrics.

> install.packages("Metrics")

Example Usage

> library("Metrics")
> auc(c(1,1,1,0,0,0), c(0.9,0.8,0.4,0.5,0.3,0.2))
[1] 0.8888889
> 
> se(1,4)
[1] 9