Last data update: 2014.03.03

R: Churn data
churnR Documentation

Churn data

Description

churn contains three variables: the churn predictions (probabilities) of two models, and observed churn

Usage

data(churn)

Format

A data frame with 1302 observations, and 3 variables: predictions, predictions2, churn.

Author(s)

Authors: Michel Ballings and Dirk Van den Poel, Maintainer: Michel.Ballings@UGent.be

References

Ballings, M., Van den Poel, D., Threshold Independent Performance Measures for Probabilistic Classifcation Algorithms, Forthcoming.

Examples

data(churn)
str(churn)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(AUC)
AUC 0.3.0
Type AUCNews() to see the change log and ?AUC to get an overview.
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/AUC/churn.Rd_%03d_medium.png", width=480, height=480)
> ### Name: churn
> ### Title: Churn data
> ### Aliases: churn
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(churn)
> str(churn)
'data.frame':	1302 obs. of  3 variables:
 $ predictions : num  0 0 0 0.216 0 0.298 0.326 0 0 0 ...
 $ predictions2: num  0 0.002 0.01 0.096 0 0.232 0.262 0 0.002 0.002 ...
 $ labels      : Factor w/ 2 levels "0","1": 1 1 1 1 1 1 2 1 1 1 ...
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>