c_statistics function

Raw Confusion Statistics

Raw Confusion Statistics

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

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

Returns

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

Examples

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

Author(s)

rothe

  • Maintainer: Ursula Neumann
  • License: GPL (>= 2)
  • Last published: 2018-05-08

Useful links