flatten.predict.multiclass: flatten the outcomes of 'multilayer.predict.type'

View source: R/classifier_model_summary.R

flatten.predict.multiclassR Documentation

flatten the outcomes of multilayer.predict.type

Description

flatten the outcomes of multilayer.predict.type

Usage

flatten.predict.multiclass(predicted, target_classes, final.class = "final")

Arguments

predicted

an outcome of a .predict.... function

target_classes

a set of classes to be flattened

final.class

the name (column heading) of final class outcomes, after flattening classes

Value

the last column is added with the multi-class labels (flatted)


skimlab/CCSBUtils documentation built on March 30, 2022, 4:52 a.m.