aiRcost: aiRcost

Description Usage Arguments Value

View source: R/main.R

Description

Calculates the resulting cost of the network for a given dataset activation.

Usage

1
aiRcost(data, classify, class.levels)

Arguments

data

takes in final activation level of a network.

classify

Factor vector of correct classifications corresponding to data observations.

class.levels

the levels of the classifier vector

Value

returns aiRcost object containing the following labels cost, dcost, obser.cost, total.cost, mean.cost cost: cost per value, dcost: differential cost per value, obser.cost: cost per observation, total.cost: batch total cost, mean.cost: batch mean cost


jtlandis/aiR documentation built on Dec. 26, 2019, 3:35 a.m.