c_statistics {phiDelta}R Documentation

Raw Confusion Statistics

Description

reformarts the raw file data to c_statistics data so it can be used for most of the functions in this package. it can be used directly after loading data from a file like .csv

Usage

c_statistics(file)

Arguments

file

raw data from a file, for example the output of read.csv. the file must be formarted as follows: The first column contains tho output of the classifier. It should only be 1 or 0 The other columns represent the features. The names of the columns 2.. are considered as the names of the features

Value

dataframe, first column are the labels, 0 is a negative sample, 1 a positve the other columns contain the

Author(s)

rothe

Examples

data("climate_data")
x <- c_statistics(climate_data)

[Package phiDelta version 1.0.1 Index]