predict_generic: Abstracting the predict function

Description Usage Arguments Value

Description

Abstracting the predict function

Usage

1
predict_generic(model, test, type)

Arguments

model

r model object, passed to generate actual responses or probability scores

test

the test dataset for which prob score or responses are to be genereated

type

a string, that takes either c('class','prob','response') for apporiate response

Value

probability score for the outcome classes or actual class that the supplied model predicts


rgopikrishnan91/DiscNoise documentation built on May 6, 2019, 6:59 p.m.