The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Type: Package
Title: Classification Model Charts
Version: 0.1.0
Imports: dplyr,plotly,stats
Description: Provides two important functions for producing Gain chart and Lift chart for any classification model.
License: GPL-2 | GPL-3 [expanded from: GPL]
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.0.1
NeedsCompilation: no
Packaged: 2018-03-09 13:36:30 UTC; 619036
Author: Badri N Pattanaik [aut], Krishna Harsha K H [cre]
Maintainer: Krishna Harsha K H <khkrishnaharsha123@gmail.com>
Repository: CRAN
Date/Publication: 2018-03-13 11:07:18 UTC

Gain Chart and Lift Chart

Description

This Package provides two important functions for producing Gain chart and Lift chart for any classification model.

GAIN_CHART()

Creates a gain chart based on calculated probability values and actual outcome.

LIFT_CHART()

creates a lift chart based on calculated probability values and actual outcome.

See Also

GAIN_CHART, LIFT_CHART


Functions Gain Chart

Description

Creates a Gain chart.

Usage

GAIN_CHART(INPUT, Probability, cutoffs, Outcome, Event)

Arguments

INPUT

Input data

Probability

Probability values between zero and one

cutoffs

probability cutoffs(c(0.80,0.60,0.40,0.20,0)/c(0.5,0))

Outcome

outcome variable(target variable)

Event

outcome representation ("YES"/"Y"/"1")

Value

A gain chart

See Also

Modelcharts

Examples

## Not run: 
# Run it and see for yourself

## End(Not run)
data.tmp<-read.csv(system.file("ext", "testdata.csv", package="Modelcharts"))
GAIN_CHART(data.tmp,data.tmp$Probability,seq(0.95,0,-0.05),data.tmp$Outcome,"Y")

Functions Lift Chart

Description

Creates a Lift chart.

Usage

LIFT_CHART(INPUT, Probability, cutoffs, Outcome, Event)

Arguments

INPUT

Input data

Probability

Probability values between zero and one

cutoffs

probability cutoffs(c(0.80,0.60,0.40,0.20,0)/c(0.5,0))

Outcome

outcome variable(target variable)

Event

outcome representation ("YES"/"Y"/"1")

Value

A lift chart

See Also

Modelcharts

Examples

## Not run: 
# Run it and see for yourself

## End(Not run)
data.tmp<-read.csv(system.file("ext", "testdata.csv", package="Modelcharts"))
LIFT_CHART(data.tmp,data.tmp$Probability,seq(0.95,0,-0.05),data.tmp$Outcome,"Y")

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.