output_structure: This function is use to identify the structure of input

View source: R/data-preprocess.R

output_structureR Documentation

This function is use to identify the structure of input

Description

This function is use to identify the structure of input

Usage

output_structure(
  data,
  columns_list = NULL,
  binary = NULL,
  multiclass = NULL,
  unsorted = TRUE,
  verbose = FALSE
)

Arguments

data

A data frame (not one hot yet)

columns_list

A list, each list component contains classes of one non-numeric feature

binary

A vector contains names of binary features

multiclass

A vector contains names of multiclass features

verbose

A logical value indicating whether information should be printed out

unstorted

A logical value indicating whether the data is sorted or not

Value

This function return a list with size_index and output_struc


agnesdeng/misle documentation built on Sept. 22, 2023, 8:48 p.m.