OneHot2Label: Obtaining Labels

Description Usage Arguments Value See Also

View source: R/BuddleMain.R

Description

Convert a one-hot encoding matrix to a vector of labels.

Usage

1
OneHot2Label(OHE, Label)

Arguments

OHE

an r-by-n one-hot encoding matrix.

Label

an r-by-1 vector of values or levels which a label can take.

Value

An n-by-1 vector of labels.

See Also

CheckNonNumeric(), GetPrecision(), FetchBuddle(), MakeConfusionMatrix(), Split2TrainTest(), TrainBuddle()


Buddle documentation built on Feb. 13, 2020, 5:07 p.m.

Related to OneHot2Label in Buddle...