one_hot_encoding {simpleMLP}R Documentation

One Hot Encoding

Description

Creates a one hot encoding matrix with the specified number of categories for the targets. Target must be the first column of the data_raw input.

Usage

one_hot_encoding(data_raw, ncat = 10)

Arguments

data_raw

data input to create encoding; target must be first column

ncat

number of categories to use for the encoding

Value

targets in a one hot encoding matrix


[Package simpleMLP version 1.0.0 Index]